Re: [git pull] core/percpu for v2.6.27

From: Jeremy Fitzhardinge
Date: Tue Jul 15 2008 - 11:48:00 EST


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

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