Re: [PATCH 0/4] VM deadlock prevention -v5

Peter Zijlstra
2006-08-25T15:56:48Z

On Fri, 2006-08-25 at 08:51 -0700, Christoph Lameter wrote:
> On Fri, 25 Aug 2006, Peter Zijlstra wrote:
>
> > The basic premises is that network sockets serving the VM need undisturbed
> > functionality in the face of severe memory shortage.
> >
> > This patch-set provides the framework to provide this.
>
> Hmmm.. Is it not possible to avoid the memory pools by
> guaranteeing that a certain number of page is easily reclaimable?

We're not actually using mempools, but the memalloc reserve. Purely easy
reclaimable memory is not enough however, since packet receive happens
from IRQ context, and we cannot unmap pages in IRQ context.