Re: [PATCH -mm] throttle direct reclaim when too many pages are isolated already

Rik van Riel
2009-07-16T03:48:42Z

KAMEZAWA Hiroyuki wrote:

>> Am I overlooking something?
>>
> Reclaim from cgorup doesn't come from memory shortage but from
> "it hits limit". Then, it doen't necessary to reclaim pages from
> this zone. fallback to other zone is always ok.
> This will trigger unnecessary wait, I think.

Fair enough.

I'll also change the patch so tasks with a fatal signal
pending will go through congestion_wait at least once,
to give other tasks a chance to free up memory.

That should address everybody's concerns.

--
All rights reversed.