Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 08:06:34 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Jeff Roberson <jroberson@jroberson.net>
Cc:        Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>, Roman Divacky <rdivacky@FreeBSD.org>, Robert Watson <rwatson@FreeBSD.org>, Julian Elischer <julian@elischer.org>, FreeBSD Current <current@FreeBSD.org>
Subject:   Re: stack hogs in kernel 
Message-ID:  <3226.1208246794@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 14 Apr 2008 21:38:34 -1000." <20080414213656.Q959@desktop> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20080414213656.Q959@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3226.1208246794>