Messages in this thread | | | From | Will Deacon <> | Subject | [PATCH 0/2] A couple of qspinlock fixes | Date | Tue, 13 Feb 2018 13:22:55 +0000 |
| |
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
| |