diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2022-11-26 19:59:18 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-12-02 17:48:49 +1100 |
commit | b3a73b7db2b6cb3b2e5bfda5518a0e92230ef673 (patch) | |
tree | 4bf95333579c1592cd0ee45094c609b1ccb96272 /drivers/most | |
parent | 4c93c2e4b9e8988511c06b9c042f23d4b8f593ad (diff) |
powerpc/qspinlock: convert atomic operations to assembly
This uses more optimal ll/sc style access patterns (rather than
cmpxchg), and also sets the EH=1 lock hint on those operations
which acquire ownership of the lock.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221126095932.1234527-4-npiggin@gmail.com
Diffstat (limited to 'drivers/most')
0 files changed, 0 insertions, 0 deletions