Subject: Re: NBPG
To: Noriyuki Soda <soda@sra.co.jp>
From: msaitoh <msaitoh@spa.is.uec.ac.jp>
List: tech-kern
Date: 07/24/1998 04:37:56
 > If you want my judgement: they should not. All they should care about is
 > the return value of getpagesize(), or the equivalent sysctl(2) call.

YES!

 > >> #define	CLBYTES		(CLSIZE * sysconf(_SC_PAGESIZE))
 > 
 > is incorrect. Just use sysconf(_SC_PAGESIZE).

Oh sorry. 

I fix this problem with getpagesize(3) (this function caches page size).

----------------------------------------------------------
		SAITOH Masanobu (msaitoh@spa.is.uec.ac.jp,
		                 msaitoh@netbsd.org)
		University of Electro-Communications