diff options
author | Ben Gardon <[email protected]> | 2021-02-02 10:57:13 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-02-04 05:27:43 -0500 |
commit | a09a689a534183c48f200bc2de1ae61ae9c462ad (patch) | |
tree | 6d22a4c3a93f604b29d200434191480124e166f8 /lib/mpi/mpi-mod.c | |
parent | 26128cb6c7e6731fe644c687af97733adfdb5ee9 (diff) |
sched: Add needbreak for rwlocks
Contention awareness while holding a spin lock is essential for reducing
latency when long running kernel operations can hold that lock. Add the
same contention detection interface for read/write spin locks.
CC: Ingo Molnar <[email protected]>
CC: Will Deacon <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Acked-by: Waiman Long <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Ben Gardon <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions