Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK

Christoph Lameter
2007-08-06T21:05:32Z

On Mon, 6 Aug 2007, Peter Zijlstra wrote:

> > The solution may be as simple as configuring the reserves right and
> > avoid the unbounded memory allocations.
>
> Which is what the next series of patches will be doing. Please do look
> in detail at these networked swap patches I've been posting for the last
> year or so.
>
> > That is possible if one
> > would make sure that the network layer triggers reclaim once in a
> > while.
>
> This does not make sense, we cannot reclaim from reclaim.

But we should limit the amounts of allocation we do while performing
reclaim. F.e. refilling memory pools during reclaim should be disabled.