Re: [patch] mm: Reimplementation of dynamic percpu memory allocator

From: Andrew Morton
Date: Mon Jan 17 2005 - 17:44:13 EST


Ravikiran G Thirumalai <kiran@xxxxxxxxxx> wrote:
>
> > So... is it not possible to enhance vmalloc() for node-awareness, then
> > just use it?
> >
>
> Memory for block management (free lists, bufctl lists) is also resident
> in one block. A typical block in this allocator looks like this:
>

I still don't get it. It is possible to calculate the total size of the
block beforehand, yes? So why not simply vmalloc_numa() a block of that
size then populate it?
-
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/