Re: [patch 3/4] cpu alloc: The allocator

From: Christoph Lameter
Date: Fri Oct 03 2008 - 08:50:20 EST


Andrew Morton wrote:

> And bitmap_etc(). We have a pretty complete suite there.

ok will use bitops here.

> Apart from that the interface, intent and implementation seem reasonable.
>
> But I'd have though that it would be possible to only allocate the
> storage for online CPUs. That would be a pretty significant win for
> some system configurations?

We have tried that but currently the kernel (core and in particular arch
code) keeps state for all possible cpus in percpu segments. Would require more
extensive cleanup of numerous arches to do.


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