Subject: Re: sysctl HW_PAGESIZE
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-perform
Date: 02/24/2002 00:12:13
> FTR, the sysconf is being done by malloc()'s initialization code in
> libc (see src/lib/libc/stdlib/malloc.c, line 421). I'd be more
> interested in knowing if hardcoding it made malloc() any faster.

Probably not, since it only happens once.=20
It seems silly to issue one system call for each launched process just
to rediscover always the same thing, but you are probably right, it's
not a useful improvement...

--=20
Emmanuel Dreyfus. =20
Vous avez deplac=E9 la souris.=20
Windows NT doit maintenant redemarrer pour valider les modifications.
manu@netbsd.org