Re: top stack (l)users for 2.5.69

Timothy Miller
2003-05-07T15:07:58Z

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?