From owner-cvs-src@FreeBSD.ORG Sat Aug 23 16:32:31 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB16A16A4BF; Sat, 23 Aug 2003 16:32:31 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1411F43F85; Sat, 23 Aug 2003 16:32:31 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.9) with ESMTP id h7NNWdtT012552; Sat, 23 Aug 2003 16:32:39 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.9/Submit) id h7NNWdoP012551; Sat, 23 Aug 2003 16:32:39 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sat, 23 Aug 2003 16:32:39 -0700 From: David Schultz To: Marcel Moolenaar Message-ID: <20030823233239.GB12341@HAL9000.homeunix.com> Mail-Followup-To: Marcel Moolenaar , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200308230624.h7N6O0bq088622@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308230624.h7N6O0bq088622@repoman.freebsd.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/vm vm_page.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 23:32:31 -0000 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.