aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2023-10-16 12:43:01 +0000
committerMichael Ellerman <[email protected]>2023-10-20 11:43:34 +0000
commitf6568647382c667912245c8d07aa26c9c6d4d0c8 (patch)
treee3ad3d43de16f0155cb7aa7f4e7b742948a226eb /arch/powerpc/lib/code-patching.c
parentpowerpc/perf: Fix disabling BHRB and instruction sampling (diff)
downloadkernel-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