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

Andrew Morton
2004-11-10T22:29:00Z

Marcelo Tosatti <marcelo.tosatti@cyclades.com> wrote:
>
> So z->all_unreclaimable logic and "OOM detection" are conflicting goals.

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. So I suspect
that if you were to fix that problem by some means, it wouldn't help
anything.

But maybe I'm wrong, or maybe the all_unreclaimable logic has rotted. Have
you tried simply disabling it?