[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100907114538.71fc2dcd@basil.nowhere.org>
Date: Tue, 7 Sep 2010 11:45:38 +0200
From: Andi Kleen <andi@...stfloor.org>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: "linux-mm\@kvack.org" <linux-mm@...ck.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
"minchan.kim\@gmail.com" <minchan.kim@...il.com>,
Mel Gorman <mel@....ul.ie>,
"kosaki.motohiro\@jp.fujitsu.com" <kosaki.motohiro@...fujitsu.com>
Subject: Re: [RFC][PATCH] big continuous memory allocator v2
On Tue, 7 Sep 2010 18:03:54 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> wrote:
> Oh, I didn't consider that. Hmm. If x86 really wants to support 1GB
> page, MAX_ORDER should be raised. (I'm sorry if it was already
> disccused.)
That doesn't really work, it requires alignment of all the
zones to 1GB too (not practical) and has a lot of overhead.
Also for the normal case it wouldn't work anyways due to fragmentation.
> > One issue is also that it would be good to be able to decide
> > in advance if the OOM killer is likely triggered (and if yes
> > reject the allocation in the first place).
> >
>
> Checking the amount of memory and swap before starts ?
> It sounds nice. I'd like to add something.
That would be the simple variant, but perhaps it could
even consider parallel traffic? (I guess that would
be difficult) Or perhaps bail out early if OOM is likely.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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