Tony Luck 2c86963b09 [IA64] implement ticket locks for Itanium
Back in January 2008 Nick Piggin implemented "ticket" spinlocks
for X86 (See commit 314cdbefd1fd0a7acf3780e9628465b77ea6a836).

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
..
2007-05-11 05:38:25 -04:00
2005-04-16 15:20:36 -07:00
2009-06-17 09:33:49 -07:00
2006-06-21 11:19:22 -07:00
2009-06-30 14:18:32 -07:00
2005-04-16 15:20:36 -07:00
2009-03-26 11:01:46 -07:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2009-09-14 16:19:24 -07:00
2009-06-17 09:33:49 -07:00
2008-04-08 13:51:35 -07:00
2009-03-27 11:11:04 -07:00
2009-03-27 11:11:04 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 10:48:19 -08:00
2009-09-14 17:41:42 -07:00
2009-07-12 12:22:34 -07:00
2007-05-08 14:51:59 -07:00
2009-06-17 09:33:49 -07:00
2009-06-17 09:35:24 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00