diff options
| author | 2022-11-26 19:59:18 +1000 | |
|---|---|---|
| committer | 2022-12-02 17:48:49 +1100 | |
| commit | b3a73b7db2b6cb3b2e5bfda5518a0e92230ef673 (patch) | |
| tree | 4bf95333579c1592cd0ee45094c609b1ccb96272 /scripts/Makefile.thinlto | |
| parent | powerpc/qspinlock: use a half-word store to unlock to avoid larx/stcx. (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
