Re: [PATCHSET] percpu: generalize first chunk allocators and improvelpage NUMA support

From: Tejun Heo
Date: Wed Jul 01 2009 - 18:43:48 EST


Christoph Lameter wrote:
> On Wed, 1 Jul 2009, Andi Kleen wrote:
>
>> And it's imho unclear if that is all worth it just to avoid
>> wasting some memory in the "256 possible CPUs" case (which
>> I doubt is particularly realistic anyways, at least I don't
>> know of any Hypervisor today that scales to 256 CPUs)
>
> I basically agree. Its not worth it given the rare cases where this
> matters. It will be a lot of code with callbacks in each subsystem.
>
> One of the motivations of working on revising the percpu handling for
> me was that we could get rid of these screwy callbacks that are rarely
> tested and cause all sorts of other issues with locking and serialization.

Hmmm.... yeah. I have to agree that callbacks are nasty and requiring
all users to use callbacks wouldn't be very nice. Once the current
dust settles down, I'll look around and see whether this can be solved
in some reasonable way.

Thanks.

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