[lkml]   [2001]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.10 VM: what avoids from having lots of unwriteable inactive pages

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.

But if you want to put an unconditional "refill_inactive()" after the
inactive shrink failed, just to work with the case of the active list
having a lot of interesting pages. That's not a mapped vs unmapped issue,
that's more a "maybe all the DMA pages are on the active list" kind of


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.030 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site