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

From: Christoph Lameter
Date: Tue Jun 30 2009 - 10:26:33 EST


On Mon, 29 Jun 2009, Andrew Morton wrote:

> On Mon, 29 Jun 2009 19:20:53 -0400 (EDT)
> Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > On Wed, 24 Jun 2009, Andrew Morton wrote:
> >
> > > I assume from the tremendous number of for_each_possible_cpu()s that
> > > CPU hotplug awareness won't be happening.
> >
> > Per cpu areas are allocated for all possible processors. No need to handle
> > offlining and onlining them.
>
> Well yes. My point is that this is a bug-not-a-feature ;)

Its a feature that I would like to exploit in the future to get rid of
some of the hotplug callbacks in the allocator.

Some state also needs to be kept for offlined processors. This is done in
per cpu data.

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