On Thu, May 23, 2002 at 06:36:54AM -0300, Rik van Riel wrote:
> This means we would reclaim normal inactive pages before
> looking at the "dropped" pages that still linger on the
> active list.
> I'm not sure what this patch achieves except for disabling
> drop-behind (you'll end up reclaiming non-mapped pagecache
> pages in something resembling FIFO order).
Okay, I didn't want to do semantic damage but it happened anyway.
There seems to be some kind of unexpected (by me) dependency on list
ordering. There are other ways to mitigate the grabbing at the global
lock (which I've in fact already implemented), although none quite so
effective as the per-page business. Which doesn't mean much as a lock
grab is not going to cost anywhere near as much as inaccurate page
replacement, so drop this one.
Cheers,
Bill
-
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/