Re: Since no one else has stepped forward: 'ZeroD' patch

Mike Jagdis (mike@toaster.roan.co.uk)
Fri, 10 Jan 1997 09:13:17 GMT


>yes. The current patch keeps the size of this pool quite limited. If there
>are no major objections, i'd like to integrate the functionality right
>into the global free page pool. (thus no allocation would happen, we
>would operate on a sysctl+dynamics controlled fraction of the free page
>pool.)

I've done something like this in my page_alloc rewrite (which I'm
trying to get back into after the Christmas, ah, excesses). Incidentally
there are several places in the kernel that grab a page just in case
and then free it if it isn't needed. If that's a zeroed page you can
put it straight on the zeroed list and avoid a second clear. Maybe
your patch does this - I haven't looked yet.

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'