x86: ticket spin locks: reduce instruction dependencies
authorJan Beulich <jbeulich@novell.com>
Fri, 5 Sep 2008 12:27:45 +0000 (13:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 15:06:20 +0000 (17:06 +0200)
commit74e91604b2452c15bbe72d77b37cf47ed0310d13
tree4308d55a7b19bdd390805c50e2ce9d283825522a
parent08f5fcbe6e0ea029c7e9b1b1c338700ab7809daf
x86: ticket spin locks: reduce instruction dependencies

Reduce the amount of partial register accesses in the NR_CPUS < 256
case, and slightly weaken resource dependencies in the other case.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/spinlock.h