[PATCH RFC v2 2/2] qspinlock x86: Enable x86 to use queue spinlock

2013-08-13 Thread Waiman Long
This patch makes the necessary changes at the x86 architecture specific layer to enable the presence of the CONFIG_QSPINLOCK kernel option which can be used to replace the ticket spinlock by the queue spinlock. The turning on of ARCH_QSPINLOCK config option does not mean that the ticket spinlock

[PATCH RFC v2 2/2] qspinlock x86: Enable x86 to use queue spinlock

2013-08-13 Thread Waiman Long
This patch makes the necessary changes at the x86 architecture specific layer to enable the presence of the CONFIG_QSPINLOCK kernel option which can be used to replace the ticket spinlock by the queue spinlock. The turning on of ARCH_QSPINLOCK config option does not mean that the ticket spinlock