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

Matthew Dobson
2006-01-27T00:35:56Z

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