mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple of qspinlock fixes
@ 2018-02-13 13:22 Will Deacon
  2018-02-13 13:22 ` [PATCH 1/2] locking/qspinlock: Ensure node is initialised before updating prev->next Will Deacon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Will Deacon @ 2018-02-13 13:22 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, mingo, Will Deacon

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(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-02-13 15:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-13 13:22 [PATCH 0/2] A couple of qspinlock fixes Will Deacon
2018-02-13 13:22 ` [PATCH 1/2] locking/qspinlock: Ensure node is initialised before updating prev->next Will Deacon
2018-02-13 15:27   ` [tip:locking/urgent] " tip-bot for Will Deacon
2018-02-13 13:22 ` [PATCH 2/2] locking/qspinlock: Ensure node->count is updated before initialising node Will Deacon
2018-02-13 15:27   ` [tip:locking/urgent] " tip-bot for Will Deacon
2018-02-13 13:45 ` [PATCH 0/2] A couple of qspinlock fixes Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome