Messages in this thread | | | Date | Wed, 24 Nov 2010 09:05:02 +0200 | Subject | Re: [thiscpuops upgrade 09/10] x86: this_cpu_cmpxchg and this_cpu_cmpxchg_double operations | From | Pekka Enberg <> |
| |
On Wed, 24 Nov 2010, Eric Dumazet wrote: >> You have to check cx16 feature flag or implement a fallback ?
On Wed, Nov 24, 2010 at 5:11 AM, Christoph Lameter <cl@linux.com> wrote: > There is already a compile time fallback. Uhh.. How do I do this at > runtime?
I think the CPU alternatives API is meant for just that. Grep for "alternative" in arch/x86.
| |