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



On Monday 06 August 2007 11:51, Christoph Lameter wrote:
On Mon, 6 Aug 2007, Daniel Phillips wrote:
On Monday 06 August 2007 11:42, Christoph Lameter wrote:
On Mon, 6 Aug 2007, Daniel Phillips wrote:
Currently your system likely would have died here, so ending up
with a reserve page temporarily on the wrong node is already an
improvement.

The system would have died? Why?

Because a block device may have deadlocked here, leaving the system
unable to clean dirty memory, or unable to load executables over
the network for example.

So this is a locking problem that has not been taken care of?

A deadlock problem that we used to call memory recursion deadlock, aka:
somebody in the vm writeout path needs to allocate memory, but there is
no memory, so vm writeout stops forever.

Regards,

Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [RFC][PATCH 0/9] Network receive deadlock prevention for NBD
    ... Convergence of network and storage paths" ... "Net vm deadlock fix " ... Maybe it is another memory deadlock, ... dipping into the memalloc reserve if it must. ...
    (Linux-Kernel)
  • Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
    ... I hope to show quite soon that dirty page limiting is not ... needed at all in order to prevent writeout deadlock. ... it controls the balancing of memory resources between ... You do need the block IO throttling, and you need to bypass the dirty ...
    (Linux-Kernel)
  • Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
    ... doesn't work the same way with anonymous memory... ... although it sounded like you didn't see any use in these patches. ... of them and just give better reclaim behaviour in general (but in saying ... what you describe to be _technically_ deadlock free. ...
    (Linux-Kernel)
  • Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
    ... is necessary if we run out of memory in the writeout patch from reclaim. ... Well perhaps it doesn't work for networked swap, ... what you describe to be _technically_ deadlock free. ...
    (Linux-Kernel)
  • Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
    ... This will only work _IFF_ there are clean pages ... Which in the general case need not be true (memory might be ... known deadlock if a solid solution is quite attainable? ... where we take a page fault while holding a page lock (which leads to ...
    (Linux-Kernel)