Paravirtualization layer for spinlocks
modulename: spinlock.ko
and/orparavirt-spinlocks.ko
configname: CONFIG_PARAVIRT_SPINLOCKS
Linux Kernel Configuration for x86
└─>Processor type and features
└─>Paravirtualized guest support
└─>Paravirtualization layer for spinlocks
In linux kernel since version 2.6.30 (release Date: 2009-06-09)
Paravirtualized spinlocks allow a pvops backend to replace the
spinlock implementation with something virtualization-friendly
(for example, block the virtual CPU rather than spinning).
Unfortunately the downside is an up to 5% performance hit on
native kernels, with various workloads.
If you are unsure how to answer this question, answer N.
spinlock implementation with something virtualization-friendly
(for example, block the virtual CPU rather than spinning).
Unfortunately the downside is an up to 5% performance hit on
native kernels, with various workloads.
If you are unsure how to answer this question, answer N.
source code:
depends
CONFIG_EXPERIMENTALCONFIG_PARAVIRT
CONFIG_PARAVIRT_GUEST
CONFIG_SMP or CONFIG_HYPERVISOR_GUEST