Re: [patch 05/14] percpu: Use a Kconfig variable to configure arch specific percpu setup

Rusty Russell
2007-11-27T04:30:55Z

On Tuesday 27 November 2007 11:14:12 Christoph Lameter wrote:
> The use of the __GENERIC_PERCPU is a bit problematic since arches
> may want to run their own percpu setup while using the generic
> percpu definitions. Replace it through a kconfig variable.

Thanks for this Christoph!

These patches are great: the early experiments are obviously over, and so this
consolidation is overdue.

Have you considered moving x86-64's setup_per_cpu_areas into generic code?
It's a bit messier because some archs might not have set up NUMA stuff yet,
but it's logically generic...

Thanks!
Rusty.