Re: [PATCH] percpu: add optimized generic percpu accessors

From: Ingo Molnar
Date: Thu Jan 15 2009 - 13:47:44 EST



* Tejun Heo <tj@xxxxxxxxxx> wrote:

> From: Ingo Molnar <mingo@xxxxxxx>
>
> It is an optimization and a cleanup, and adds the following new
> generic percpu methods:
>
> percpu_read()
> percpu_write()
> percpu_add()
> percpu_sub()
> percpu_and()
> percpu_or()
> percpu_xor()

on a second thought ... i just started using this construct in code, and
promptly typoed it: i typed "per_cpu_read()".

Which is really the more logical name for this. Mind if i do a
s/percpu/per_cpu/ rename of all of these new APIs?

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