Re: [PATCH] ignore referenced pages on reclaim when OOM

Rik van Riel
2004-11-12T16:10:37Z

On Wed, 10 Nov 2004, Andrew Morton wrote:

> Only in a single case: where a zone is all_unreclaimable and some pages
> have recently become reclaimable but we don't know about it yet.
>
> Certainly it can happen, but it sounds really unlikely to me.

The swap token logic can make it appear like this is the case,
unless you ignore the referenced bit when you reach priority 0.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan