diff options
author | Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> | 2013-10-21 12:05:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-26 06:23:22 -0400 |
commit | 4c4e4f61368164f326fe59e2156c70d7faa72c17 (patch) | |
tree | 3507a3abdf0622bb04503f07941b52d2088a3bd6 | |
parent | 1232e3807f597748d437ab8680873af21fa81da9 (diff) |
x86/locking/kconfig: Update paravirt spinlock Kconfig description
Since the paravirt spinlock optimizations went into the v3.12 kernel
we have a very good performance benefit for paravirtualized KVM / Xen
kernels. Also we no longer suffer from 5% side effect on native
kernel that is mentioned in the Kconfig entry.
So update the Kconfig entry accordingly.
pvspinlock benefit on KVM link:
https://lkml.org/lkml/2013/8/6/178
Attilio's tests on native kernel impact:
http://blog.xen.org/index.php/2012/05/11/benchmarking-the-new-pv-ticketlock-implementation/
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: <konrad.wilk@oracle.com>
Cc: <linux@eikelenboom.it>
Cc: <gleb@redhat.com>
Cc: <pbonzini@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1382371508-3843-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com
[ Updated the changelog. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ee2fb9d37745..a92572de2ac1 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -638,10 +638,10 @@ config PARAVIRT_SPINLOCKS | |||
638 | spinlock implementation with something virtualization-friendly | 638 | spinlock implementation with something virtualization-friendly |
639 | (for example, block the virtual CPU rather than spinning). | 639 | (for example, block the virtual CPU rather than spinning). |
640 | 640 | ||
641 | Unfortunately the downside is an up to 5% performance hit on | 641 | It has a minimal impact on native kernels and gives a nice performance |
642 | native kernels, with various workloads. | 642 | benefit on paravirtualized KVM / Xen kernels. |
643 | 643 | ||
644 | If you are unsure how to answer this question, answer N. | 644 | If you are unsure how to answer this question, answer Y. |
645 | 645 | ||
646 | source "arch/x86/xen/Kconfig" | 646 | source "arch/x86/xen/Kconfig" |
647 | 647 | ||