Re: 2.4.10 VM: what avoids from having lots of unwriteable inactive pages

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Sep 25 2001 - 10:50:46 EST


On Tue, 25 Sep 2001, Rik van Riel wrote:
> >
> > swap_out() will deactivate everything it finds to be not-recently used,
> > and that's how the inactive list ends up getting replenished.
>
> mlock()

Hey, if you've mlock'ed more than your available memory, there's nothing
the VM layer can do. Except maybe a nice printk("Kiss your *ss goodbye");

                Linus

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



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:31 EST