[PATCH-tip v2 0/2] x86/paravirt: Enable users to choose PV lock type

From: Waiman Long
Date: Wed Nov 01 2017 - 16:59:29 EST


v1->v2:
- Make pv_spinlock_type a bit mask for easier checking.
- Add patch 2 to deprecate xen_nopvspin

v1 - https://lkml.org/lkml/2017/11/1/381

Patch 1 adds a new pvlock_type parameter for the administrators to
specify the type of lock to be used in a para-virtualized kernel.

Patch 2 deprecates Xen's xen_nopvspin parameter as it is no longer
needed.

Waiman Long (2):
x86/paravirt: Add kernel parameter to choose paravirt lock type
x86/xen: Deprecate xen_nopvspin

Documentation/admin-guide/kernel-parameters.txt | 11 ++++---
arch/x86/include/asm/paravirt.h | 9 ++++++
arch/x86/kernel/kvm.c | 3 ++
arch/x86/kernel/paravirt.c | 40 ++++++++++++++++++++++++-
arch/x86/xen/spinlock.c | 17 +++++------
5 files changed, 65 insertions(+), 15 deletions(-)

--
1.8.3.1