Re: top stack (l)users for 2.5.69

Timothy Miller (miller@techsource.com)
Wed, 07 May 2003 11:23:54 -0400


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.
>
>

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?

-
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/