diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-10-16 15:43:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-10-20 14:43:34 +0300 |
commit | 1e6d5f725738fff83e1c3cbdb8547142eb8820c2 (patch) | |
tree | 4dca22d69a72fa9ed2ae13cdf2b2c1a28c47d699 /scripts/gdb/linux/utils.py | |
parent | fcf77d44274b96a55cc74043561a4b3151b9ad24 (diff) | |
download | linux-1e6d5f725738fff83e1c3cbdb8547142eb8820c2.tar.xz |
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 <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-6-npiggin@gmail.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions