Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 16:32:39 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Marcel Moolenaar <marcel@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/vm vm_page.h
Message-ID:  <20030823233239.GB12341@HAL9000.homeunix.com>
In-Reply-To: <200308230624.h7N6O0bq088622@repoman.freebsd.org>
References:  <200308230624.h7N6O0bq088622@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030823233239.GB12341>