diff options
| author | Nicholas Piggin <[email protected]> | 2023-10-16 12:43:01 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-10-20 11:43:34 +0000 |
| commit | f6568647382c667912245c8d07aa26c9c6d4d0c8 (patch) | |
| tree | e3ad3d43de16f0155cb7aa7f4e7b742948a226eb /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/perf: Fix disabling BHRB and instruction sampling (diff) | |
| download | kernel-f6568647382c667912245c8d07aa26c9c6d4d0c8.tar.gz kernel-f6568647382c667912245c8d07aa26c9c6d4d0c8.zip | |
powerpc/qspinlock: stop queued waiters trying to set lock sleepy
If a queued waiter notices the lock owner or the previous waiter has
been preempted, it attempts to mark the lock sleepy, but it does this
as a try-set operation using the original lock value it got when
queueing, which will become stale as the queue progresses, and the
try-set will fail. Drop this and just set the sleepy seen clock.
Signed-off-by: Nicholas Piggin <[email protected]>
Tested-by: Shrikanth Hegde <[email protected]>
Reviewed-by: "Nysal Jan K.A" <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
