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

Rik van Riel (riel@conectiva.com.br)
Tue, 25 Sep 2001 12:04:07 -0300 (BRST)


On Mon, 24 Sep 2001, Linus Torvalds wrote:
> On Mon, 24 Sep 2001, Marcelo Tosatti wrote:
> >
> > We keep calling swap_out(), which will not deactivate pages which _can_ be
> > written out, until we deactivate the pte's from the pages which are on the
> > inactive list.
>
> swap_out() will deactivate everything it finds to be not-recently used,
> and that's how the inactive list ends up getting replenished.

mlock()

Rik

--
IA64: a worthy successor to the i860.

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com/

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