lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET] percpu: generalize first chunk allocators and improve lpage NUMA support
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


\
 
 \ /
  Last update: 2009-07-02 00:47    [W:0.130 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site