stack hogs in kernel
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Apr 15 08:06:39 UTC 2008
In message <20080414213656.Q959 at desktop>, Jeff Roberson writes:
>> I've long wondered about the seemingly fanatical stack size concern in
>> kernel space. In other domains (where I have more experience) you can
>> get good performance benefits from the essentially free memory management
>> and good cache re-use that comes from putting as much into the
>> stack/call-frame as possible.
>
>There is a small fixed kernel stack per-thread.
And in case anybody is about to forget: FreeBSD is still used on
systems with a lot less than 1GB ram :-)
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current
mailing list