Messages in this thread | | | Date | Wed, 14 Jan 2009 10:45:46 +0100 | From | Ingo Molnar <> | Subject | Re: [patch] add optimized generic percpu accessors |
| |
* Ingo Molnar <mingo@elte.hu> wrote:
> Tejun, could you please also add the patch below to your lineup too? > > It is an optimization and a cleanup, and adds the following new generic > percpu methods: > > percpu_read() > percpu_write() > percpu_add() > percpu_sub() > percpu_or() > percpu_xor() > > and implements support for them on x86. (other architectures will fall > back to a default implementation)
btw., this patch means that we can move Brian's original PDA cleanups fully and without kernel size bloat: instead of pda_read() we can use percpu_read(), and not bloat the kernel at all.
and thus the pda ops can go away completely.
Ingo
| |