[PATCH][2.6] Nested Interrupt support

jschopp at austin.ibm.com jschopp at austin.ibm.com
Tue Jan 20 09:43:48 EST 2004


Upon further thought it appears that I was incorrect and you are correct.
Jake should be able to use DEFINE_PER_CPU just fine.  I'm afraid I was
thinking of the __alloc_per_cpu, which is not what would be used here.


On Tue, 20 Jan 2004, Benjamin Herrenschmidt wrote:

> > We can't use percpu data here because the memory manager hasn't been
> > initialized.  To use per cpu data we need to be able to call kmalloc.
>
> Ugh ? Hopefully not !
>
> percpu are stored in a separate .data section, you don't need
> kmalloc to be available to use them...


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list