On Monday 06 August 2007 14:05, Christoph Lameter wrote:
Correct. That is what the throttling part of these patches is about.
In order to fix the vm writeout deadlock problem properly, two things
are necessary:
1) Throttle the vm writeout path to use a bounded amount of memory
2) Provide access to a sufficiently large amount of reserve memory for
each memory user in the vm writeout path
You can understand every detail of this patch set and the following ones
coming from Peter in terms of those two requirements.
Actually, recursing into the vm should be disabled entirely but that is
a rather deeply ingrained part of mm culture we do not propose to
fiddle with just now.
Memory pools are refilled when the pool user frees some memory, not ever
by the mm.
Regards,
Daniel
-