[lkml]   [2010]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [thiscpuops upgrade 09/10] x86: this_cpu_cmpxchg and this_cpu_cmpxchg_double operations
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 <> 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.

 \ /
  Last update: 2010-11-24 08:07    [W:0.039 / U:12.984 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site