cvs commit: src/sys/vm vm_page.h

David Schultz das at FreeBSD.ORG
Sat Aug 23 16:32:31 PDT 2003


On Fri, Aug 22, 2003, Marcel Moolenaar wrote:
> marcel      2003/08/22 23:24:00 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_page.h 
>   Log:
>   Add support for 16K and 32K page sizes. The valid and dirty maps
>   in struct vm_page are defined as u_int for 16K pages and u_long
>   for 32K pages, with the implied assumption that long will at least
>   be 64 bits wide on platforms where we support 32K pages.

Wouldn't it be more appropriate to use uintXX_t?  Also, you may be
able to save a word per page in the 32K page case by moving the
cow field.


More information about the cvs-src mailing list