Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 13:38:36 -0400 (EDT)
From:      John Baldwin <jhb@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:  <XFMail.20030825133836.jhb@FreeBSD.org>
In-Reply-To: <200308230624.h7N6O0bq088622@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Aug-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.

Why not use 'uint32_t' and 'uint64_t' to remove the assumption?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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