diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2023-10-16 22:43:03 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-10-20 22:43:34 +1100 |
| commit | fcf77d44274b96a55cc74043561a4b3151b9ad24 (patch) | |
| tree | 41e537e792d616948c399cfffe1a54147276d7ee /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/qspinlock: propagate owner preemptedness rather than CPU number (diff) | |
| download | linux-fcf77d44274b96a55cc74043561a4b3151b9ad24.tar.gz linux-fcf77d44274b96a55cc74043561a4b3151b9ad24.zip | |
powerpc/qspinlock: don't propagate the not-sleepy state
To simplify things, don't propagate the not-sleepy condition back down
the queue. Instead, have the waiters clear their own node->sleepy when
finding the lock owner is not preempted.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Shrikanth Hegde <sshegde@linux.vnet.ibm.com>
Reviewed-by: "Nysal Jan K.A" <nysal@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231016124305.139923-5-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
