[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0708091146410.25220@schroedinger.engr.sgi.com>
Date: Thu, 9 Aug 2007 11:49:56 -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:
> On 8/8/07, Christoph Lameter <clameter@....com> wrote:
> > On Wed, 8 Aug 2007, Daniel Phillips wrote:
> > Maybe we need to kill PF_MEMALLOC....
>
> Shrink_caches needs to be able to recurse into filesystems at least,
> and for the duration of the recursion the filesystem must have
> privileged access to reserves. Consider the difficulty of handling
> that with anything other than a process flag.
Shrink_caches needs to allocate memory? Hmmm... Maybe we can only limit
the PF_MEMALLOC use.
> In theory, we could reduce the size of the global memalloc pool by
> including "easily freeable" memory in it. This is just an
> optimization and does not belong in this patch set, which fixes a
> system integrity issue.
I think the main thing would be to fix reclaim to not do stupid things
like triggering writeout early in the reclaim pass and to allow reentry
into reclaim. The idea of memory pools always sounded strange to me given
that you have a lot of memory in a zone that is reclaimable as needed.
-
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