Skip to content

A couple of qspinlock fixes

Will Deacon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2locking/qspinlock: Ensure node is initialised before updating prev->nextkernel/locking/qspinlock.c+7 -60 replies
2/2locking/qspinlock: Ensure node->count is updated before initialising nodekernel/locking/qspinlock.c+8 -00 replies

Reviews trailers per patch

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

PatchPeter Zijlstra (Intel)
SeriesA-b
1/2
2/2

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/2] A couple of qspinlock fixes

Hi all,

Here are a couple of fixes for qspinlock issues I've found by code inspection whilst investigating the possibility of enabling this for arm64. The first patch fixes a problem with unusual hardware re-ordering whilst the second fixes a problem with unusual compiler re-ordering.

Cheers,

Will

--->8

Will Deacon (2):
locking/qspinlock: Ensure node is initialised before updating

    prev->next

locking/qspinlock: Ensure node->count is updated before initialising
node

 kernel/locking/qspinlock.c | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
Signature · 1 line
2.1.4