Re: stack hogs in kernel

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 15 Apr 2008 08:06:34 +0000
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.
Received on Tue Apr 15 2008 - 06:06:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC