aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2023-10-16 12:43:04 +0000
committerMichael Ellerman <[email protected]>2023-10-20 11:43:34 +0000
commit1e6d5f725738fff83e1c3cbdb8547142eb8820c2 (patch)
tree4dca22d69a72fa9ed2ae13cdf2b2c1a28c47d699 /arch/powerpc/lib/code-patching.c
parentpowerpc/qspinlock: don't propagate the not-sleepy state (diff)
downloadkernel-1e6d5f725738fff83e1c3cbdb8547142eb8820c2.tar.gz
kernel-1e6d5f725738fff83e1c3cbdb8547142eb8820c2.zip
powerpc/qspinlock: Propagate sleepy if previous waiter is preempted
The sleepy (aka lock-owner-is-preempted) condition is propagated down the queue by each waiter. If a waiter becomes preempted, it can no longer propagate sleepy. To allow subsequent waiters to yield to the lock owner, also check the lock owner in this case. 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