Re: [patch 04/41] cpu ops: Core piece for generic atomic per cpuoperations
From: Christoph Lameter
Date: Mon Jun 16 2008 - 10:52:24 EST
On Sun, 15 Jun 2008, Rusty Russell wrote:
> > 3. Some hooks for arches to override particular behavior as needed.
> > F.e. IA64 allocates percpu structures in a special way. x86_64
> > needs to do some tricks for the pda etc etc.
>
> IA64 is going to need some work, since dynamic percpu addresses won't be able
> to use their pinned TLB trick to get the local version.
The ia64 hook could simply return the address of percpu area that
was reserved when the per node memory layout was generated (which happens
very early during node bootstrap).
--
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/