diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2022-11-26 19:59:31 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-12-02 17:48:50 +1100 |
commit | 12b459a5ebf3308e718bc1dd48acb7c4cf7f1a75 (patch) | |
tree | e2d0a72d2511fd0f86fb78b8a2e556966621c250 /tools/perf/scripts/python | |
parent | 39dfc73596b48bb50cf7e4f3f54e38427dda5b4e (diff) |
powerpc/qspinlock: provide accounting and options for sleepy locks
Finding the owner or a queued waiter on a lock with a preempted vcpu is
indicative of an oversubscribed guest causing the lock to get into
trouble. Provide some options to detect this situation and have new CPUs
avoid queueing for a longer time (more steal iterations) to minimise the
problems caused by vcpu preemption on the queue.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221126095932.1234527-17-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions