From owner-freebsd-commit Mon Oct 23 00:06:17 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA24696 for freebsd-commit-outgoing; Mon, 23 Oct 1995 00:06:17 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA24680 for cvs-all-outgoing; Mon, 23 Oct 1995 00:06:09 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA24669 for cvs-sys-outgoing; Mon, 23 Oct 1995 00:06:07 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA24663 ; Mon, 23 Oct 1995 00:06:01 -0700 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id AAA03274; Mon, 23 Oct 1995 00:05:55 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id AAA00240; Mon, 23 Oct 1995 00:05:33 -0700 Message-Id: <199510230705.AAA00240@corbin.Root.COM> To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/vm vm_glue.c vm_map.c vm_page.c vm_pageout.c In-reply-to: Your message of "Mon, 23 Oct 95 16:53:05 +1000." <199510230653.QAA16504@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 23 Oct 1995 00:05:28 -0700 Sender: owner-commit@FreeBSD.org Precedence: bulk >> Modified: sys/vm vm_glue.c vm_map.c vm_page.c vm_pageout.c >> Log: >> Get rid of machine-dependent NBPG and replace with PAGE_SIZE. > >What is the relationship between NBPG, PAGE_SIZE and CLBYTES? I >Surely there should only be one "machine-independent" "page" size. NBPG _should_ refer to the hardware page size. PAGE_SIZE should refer to the "software" page size - the size that the independant portion of the VM system uses. CLBYTES is a historical thing that should probably go away. NBPG should probably only be used in the machine-dependant portion of the sources on architectures where NBPG != PAGE_SIZE...in the case of the i386, I personally would prefer that PAGE_SIZE be used everywhere - especially when it's not clear what is 'managed' by the higher VM system layer. -DG