Subject: Re: uvm_km_valloc_align() and USPACE (Re: CVS commit: syssrc)
To: None <is@beverly.kleinbus.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 12/03/2000 14:41:56
In <20001201193415.A2389@beverly.kleinbus.org>
is@beverly.kleinbus.org wrote:
> How is the definition of PAGE_SIZE, and of NBPG?
According to 4.4BSD-Lite2,
sys/sparc/param.h:
#define NBPG 4096 /* bytes/page */
sys/vm/vm_param.h:
#define PAGE_SIZE cnt.v_page_size /* size of page */
Umm.. NBPG was constant but PAGE_SIZE was not?
Or NBPG was a hardware value and PAGE_SIZE was for vm?
Anyway, currently they seems identical.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp