Skip to content

powerpc/qspinlock: Fix yield latency bug and other

Nicholas Piggin linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6powerpc/qspinlock: Fix stale propagated yield_cpuarch/powerpc/lib/qspinlock.c+3 -00 replies
2/6powerpc/qspinlock: stop queued waiters trying to set lock sleepyarch/powerpc/lib/qspinlock.c+10 -141 reply
3/6powerpc/qspinlock: propagate owner preemptedness rather than CPU numberarch/powerpc/lib/qspinlock.c+36 -440 replies
4/6powerpc/qspinlock: don't propagate the not-sleepy statearch/powerpc/lib/qspinlock.c+8 -180 replies
5/6powerpc/qspinlock: Propagate sleepy if previous waiter is preemptedarch/powerpc/lib/qspinlock.c+5 -10 replies
6/6powerpc/qspinlock: Rename yield_propagate_owner tunablearch/powerpc/lib/qspinlock.c+9 -90 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNysal Jan K.AShrikanth Hegde
SeriesR-b T-b
1/6Debugged-by
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] powerpc/qspinlock: Fix yield latency bug and other

This fixes a long-standing latency bug in the powerpc qspinlock implementation that quite a few people have reported and helped out with debugging.

The first patch is a minimal fix that avoids the problem. The other patches are streamlining and improvements after the fix.

Thanks,
Nick

Nicholas Piggin (6):
powerpc/qspinlock: Fix stale propagated yield_cpu powerpc/qspinlock: stop queued waiters trying to set lock sleepy powerpc/qspinlock: propagate owner preemptedness rather than CPU
number
powerpc/qspinlock: don't propagate the not-sleepy state powerpc/qspinlock: Propagate sleepy if previous waiter is preempted powerpc/qspinlock: Rename yield_propagate_owner tunable

 arch/powerpc/lib/qspinlock.c | 119 +++++++++++++++--------------------
 1 file changed, 52 insertions(+), 67 deletions(-)
Signature · 1 line
2.42.0