lkml.org 
[lkml]   [2008]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [git pull] core/percpu for v2.6.27
Linus Torvalds wrote:
> Can you explain what this does and who needs it? The percpu_xchg() looks
> particularly pointless, since it's always a locked SMP-safe instruction on
> x86, so a nonpreemptible load+store will likely be much faster.

The essence of those changes is to work towards unifying the i386 and
x86-64 percpu mechanisms. But I wasn't terribly convinced by some of
the frills around the edges, like the xchg operation. The work is being
driven by Mike Travis and the huge numa people, so perhaps they have a
use for it.

J



\
 
 \ /
  Last update: 2008-07-15 17:51    [W:0.085 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site