Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 1995 00:05:28 -0700
From:      David Greenman <davidg@Root.COM>
To:        Bruce Evans <bde@zeta.org.au>
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 
Message-ID:  <199510230705.AAA00240@corbin.Root.COM>
In-Reply-To: Your message of "Mon, 23 Oct 95 16:53:05 %2B1000." <199510230653.QAA16504@godzilla.zeta.org.au> 

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



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