[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about pages in stacks



Hi,

On Thu, Apr 13, 2000 at 09:58:44PM +0200, JF Martinez wrote:
> Let's imagine that when looking for a pege the kerneml a page who has
> been part of a stack frame but since then the stack has shrunk so it
> is no longer in it.  Will the kernel save it to disk or will it
> recognize it as a page who despite what the dirty bit could say  is
> in fact free and does not need to be saved?

The kernel will never throw away unused stack pages unless the
process explicitly unmaps them.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/