I don't know how the kernel stack is allocated for tasks. Do you meanMore than this: amount of kernel stack is really, really something indirect if what you want to track is # of processes. Now, Hannes made a fair point in his other e-mail about what is a resource and what is not.
that we allocate a chunck of it for each new task and we could rely
on that?
It also depends on what you really want to achieve.> After all, we would only restrict the number of tasks for theIt depends if the kernel stack can have other kind of "consumer".
> resources they require