Re: top stack (l)users for 2.5.69

William Lee Irwin III (wli@holomorphy.com)
Wed, 7 May 2003 08:47:28 -0700


William Lee Irwin III wrote:
>> The kernel stack is (in Linux) unswappable memory that persists
>> throughout the lifetime of a thread. It's basically how many threads
>> you want to be able to cram into a system, and it matters a lot for
>> 32-bit.

On Wed, May 07, 2003 at 11:23:54AM -0400, Timothy Miller wrote:
> The point that may or may not have been obvious is that more than one
> kernel stack is hanging around. One single 8k stack versus one single
> 4k stack is a trivial difference, even for most embedded systems. But
> this becomes a huge problem when you have numerous concurrent threads
> hanging around, one of which can be swapped out. That eats memory fast.
> Or am I getting it wrong?

You've got it right. Thanks for pointing that out.

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/