Re: thread stacks and strict vm overcommit accounting
From: Alan Cox
Date: Thu Mar 15 2007 - 18:31:19 EST
> Stack RSS should certainly be included in Committed_AS,
> but RLIMIT_STACK merely limits how big the stack vma may grow to:
> at any moment the stack vma is probably very much smaller,
> and only its current size is accounted in Committed_AS.
With a typical size as a fuzz factor preaccounted in later kernels.
> > > Is this the intended behaviour?
> >
> > That sounds like a bug to me.
>
> I'm suspecting it's an oddity rather than a bug.
It is intended behaviour.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/