Files
linux/arch/alpha/include/asm
Matt Turner 8f8dcb3f7f alpha: select CONFIG_ARCH_USE_CMPXCHG_LOCKREF.
On Alpha we have spinlocks that are 32b in size and an efficient
cmpxchg64 implementation, so we qualify to make use of cmpxchg backed
lockrefs. Select the ARCH_USE_CMPXCHG_LOCKREF Kconfig symbol and provide
a trivial implementation of arch_spin_value_unlocked to satisfy the
lockref code.

Using Linus' simple testcase from
http://article.gmane.org/gmane.linux.file-systems/77466 on a dual CPU
ES47 system I see around an 8% gain:

    N       Min       Max    Median       Avg      Stddev
x  30   6194580   6295654   6272504   6272514   17694.232
+  30   6731164   6786334   6767982   6764274   13738.863
Difference at 95.0% confidence
        491760 +/- 8188.17
        7.83992% +/- 0.130541%
        (Student's t, pooled s = 15840.5)

Signed-off-by: Matt Turner <mattst88@gmail.com>
2015-08-30 18:01:16 -07:00
..
2015-05-13 10:55:42 +02:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2011-01-17 05:42:13 +01:00
2012-03-28 18:11:12 +01:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2013-11-16 16:33:16 -08:00
2012-03-28 18:11:12 +01:00
2009-06-30 18:55:59 -07:00
2013-11-16 16:33:16 -08:00
2014-09-23 16:20:03 -04:00
2015-01-13 15:23:49 +02:00