From: Will Deacon <will.deacon@arm.com>
To: linux-kernel@vger.kernel.org
Cc: peterz@infradead.org, mingo@redhat.com,
Will Deacon <will.deacon@arm.com>
Subject: [PATCH 0/2] A couple of qspinlock fixes
Date: Tue, 13 Feb 2018 13:22:55 +0000 [thread overview]
Message-ID: <1518528177-19169-1-git-send-email-will.deacon@arm.com> (raw)
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
next reply other threads:[~2018-02-13 13:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 13:22 Will Deacon [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1518528177-19169-1-git-send-email-will.deacon@arm.com \
--to=will.deacon@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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