Avoid reading node->prev in vcpu_is_preempted in osq_lock to reduce cache miss for bare-metal environment.
Guo Hui (1): x86/paravirt: useless assignment instructions cause Unixbench full core performance degradation
Zheng Zengkai (1): arm64/paravirt: disable vcpu_has_preemption if PV sched can't be used
arch/arm64/kernel/paravirt.c | 3 +++ arch/x86/kernel/paravirt-spinlocks.c | 4 ++++ kernel/locking/osq_lock.c | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-)