[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0708091844450.3185@schroedinger.engr.sgi.com>
Date: Thu, 9 Aug 2007 18:48:50 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: Daniel Phillips <daniel.raymond.phillips@...il.com>
cc: Daniel Phillips <phillips@...nq.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Matt Mackall <mpm@...enic.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, David Miller <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Daniel Phillips <phillips@...gle.com>
Subject: Re: [PATCH 02/10] mm: system wide ALLOC_NO_WATERMARK
On Thu, 9 Aug 2007, Daniel Phillips wrote:
> You can fix reclaim as much as you want and the basic deadlock will
> still not go away. When you finally do get to writing something out,
> memory consumers in the writeout path are going to cause problems,
> which this patch set fixes.
We currently also do *not* write out immediately. I/O is queued when
submitted so it does *not* reduce memory. It is better to actually delay
writeout until you have thrown out clean pages. At that point the free
memory is at its high point. If memory goes below the high point again by
these writes then we can again reclaim until things are right.
> Agreed that the idea of mempool always sounded strange, and we show
> how to get rid of them, but that is not the immediate purpose of this
> patch set.
Ok mempools are unrelated. The allocations problems that this patch
addresses can be fixed by making reclaim more intelligent. This may likely
make mempools less of an issue in the kernel. If we can reclaim in an
emergency even in ATOMIC contexts then things get much easier.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists