Re: [patch 3/9] mempool - Make mempools NUMA aware

From: Matthew Dobson
Date: Thu Jan 26 2006 - 19:34:24 EST


Benjamin LaHaise wrote:
> On Wed, Jan 25, 2006 at 03:51:33PM -0800, Matthew Dobson wrote:
>
>>plain text document attachment (critical_mempools)
>>Add NUMA-awareness to the mempool code. This involves several changes:
>
>
> This is horribly bloated. Mempools should really just be a flag and
> reserve count on a slab, as then the code would not be in hot paths.
>
> -ben

Ummm... ok? But with only a simple flag, how do you know *which* mempool
you're trying to use? What if you want to use a mempool for a non-slab
allocation?

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