Subject: Re: NBPG
To: None <,>
From: Noriyuki Soda <>
List: tech-kern
Date: 07/23/1998 17:30:06
>  [I mailed to both tech-kern and port-sparc.]
> >  Some userland programs uses NBPG.
> 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.

I think so, too.
Also, I believe that getpagesize() or sysconf(_SC_PAGESIZE) already
mulitiplied by CLSIZE, so,

>> #define	CLBYTES		(CLSIZE * sysconf(_SC_PAGESIZE))

is incorrect. Just use sysconf(_SC_PAGESIZE).