Files
android_kernel_xiaomi_sm8450/arch/ia64/include/asm
Tony Luck 2c86963b09 [IA64] implement ticket locks for Itanium
Back in January 2008 Nick Piggin implemented "ticket" spinlocks
for X86 (See commit 314cdbefd1).

IA64 implementation has a couple of differences because of the
available atomic operations ... e.g. we have no fetchadd2 instruction
that operates on a 16-bit quantity so we make ticket locks use
a 32-bit word for each of the current ticket and now-serving values.

Performance on uncontended locks is about 8% worse than the previous
implementation, but this seems a good trade for determinism in the
contended case. Performance impact on macro-level benchmarks is in
the noise.

Signed-off-by: Tony Luck <tony.luck@intel.com>
2009-09-25 08:42:16 -07:00
..
2009-06-17 09:33:49 -07:00
2009-08-11 14:52:10 -07:00
2009-03-31 14:25:08 -07:00
2009-06-15 14:32:54 -07:00
2009-01-06 14:06:52 +01:00
2009-01-16 10:09:10 +01:00
2009-09-22 07:17:42 -07:00
2009-02-18 15:37:55 -08:00
2009-06-17 09:33:49 -07:00
2009-09-09 13:29:18 -07:00
2008-11-30 11:00:15 -08:00
2009-06-17 09:33:49 -07:00
2008-09-04 09:46:13 +01:00
2009-02-01 11:01:25 +05:30
2009-07-10 14:24:05 -07:00
2009-06-17 09:33:49 -07:00