[lkml]   [2010]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH] big continuous memory allocator v2
On Tue, 7 Sep 2010 18:03:54 +0900
KAMEZAWA Hiroyuki <> 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.


-- -- Speaking for myself only.

 \ /
  Last update: 2010-09-07 11:49    [W:0.030 / U:2.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site