Thread (30 messages) 30 messages, 8 authors, 2014-02-07

Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation

From: Raghavendra K T <hidden>
Date: 2014-02-03 08:45:56
Also in: lkml

On 01/28/2014 11:49 PM, Waiman Long wrote:
quoted hunk ↗ jump to hunk
+#endif /* __ASM_GENERIC_QSPINLOCK_H */
diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks
index d2b32ac..f185584 100644
--- a/kernel/Kconfig.locks
+++ b/kernel/Kconfig.locks
@@ -223,3 +223,10 @@ endif
  config MUTEX_SPIN_ON_OWNER
  	def_bool y
  	depends on SMP && !DEBUG_MUTEXES
+
+config ARCH_USE_QUEUE_SPINLOCK
+	bool
+
+config QUEUE_SPINLOCK
+	def_bool y if ARCH_USE_QUEUE_SPINLOCK
+	depends on SMP && !PARAVIRT_SPINLOCKS
This should have been !CONFIG_PARAVIRT instead of !PARAVIRT_SPINLOCKS ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help