Re: [RFC][PATCH 0/3] big chunk memory allocator v2

From: KAMEZAWA Hiroyuki
Date: Fri Oct 29 2010 - 08:37:28 EST


On Fri, 29 Oct 2010 14:29:28 +0200
Andi Kleen <andi.kleen@xxxxxxxxx> wrote:

>
> > About my patch, I may have to prealloc all required pages before start.
> > But I didn't do that at this time.
>
> preallocate when? I thought the whole point of the large memory allocator
> was to not have to pre-allocate.
>

Yes, one-by-one allocation prevents the allocation from sudden-attack.
I just wonder to add a knob for "migrate pages here" :)


Thanks,
-Kame

--
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/