diff options
author | Nicholas Piggin <[email protected]> | 2022-11-26 19:59:22 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-12-02 17:48:49 +1100 |
commit | 085f03311bcede99550e08a1f7cad41bf758b460 (patch) | |
tree | bdc252e5499adbcf9295f9636b62a89ddd9fd896 /net/lapb/lapb_timer.c | |
parent | e1a31e7fd7130628cfd229253da2b4630e7a809c (diff) |
powerpc/qspinlock: paravirt yield to lock owner
Waiters spinning on the lock word should yield to the lock owner if the
vCPU is preempted. This improves performance when the hypervisor has
oversubscribed physical CPUs.
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions