RE: [PATCHSET percpu#for-next] percpu: convert ia64 to dynamicpercpu and drop the old one, take#2

From: Luck, Tony
Date: Wed Sep 30 2009 - 18:05:54 EST


> Tony: Could we use a global register for the per cpu address? That would
> make IA64 work similar to sparc.

Would that be a useful trade of resources for convenience? We've already
hard-wired r13 for "current". Grabbing another one would require fixing
(since user code will have clobbered it). Possibly re-working any existing
code that already uses whatever register you choose.

How would that compare with using [r13]?

We might have a krN free ... but kregs are a lot slower than real registers.

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