Re: [PATCH 2/4] x86: Extend percpu ops to 64 bit

From: Ingo Molnar
Date: Tue Jun 10 2008 - 06:04:45 EST



* Mike Travis <travis@xxxxxxx> wrote:

> * x86 percpu ops now will work on 64 bit too, so add the missing 8 byte cases.
>
> * Add a few atomic ops that will be useful in the future:
>
> x86_xchg_percpu()
> x86_cmpxchg_percpu().
>
> x86_inc_percpu() - Increment by one can generate more efficient
> x86_dec_percpu() instructions and inc/dec will be supported by
> cpu ops later.
>
> * Use per_cpu_var() instead of per_cpu__##xxx.
>
> Based on linux-2.6.tip

applied to tip/cpus4096, thanks Mike.

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/