diff options
| author | Nicholas Piggin <[email protected]> | 2020-07-24 13:14:22 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-26 14:01:29 +0000 |
| commit | 2f6560e652dfdbdb59df28b45a3458bf36d3c580 (patch) | |
| tree | eb923dd64c883cf1cbd977111baf6a146ad55e23 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/pseries: Implement paravirt qspinlocks for SPLPAR (diff) | |
| download | kernel-2f6560e652dfdbdb59df28b45a3458bf36d3c580.tar.gz kernel-2f6560e652dfdbdb59df28b45a3458bf36d3c580.zip | |
powerpc/qspinlock: Optimised atomic_try_cmpxchg_lock() that adds the lock hint
This brings the behaviour of the uncontended fast path back to roughly
equivalent to simple spinlocks -- a single atomic op with lock hint.
Signed-off-by: Nicholas Piggin <[email protected]>
Acked-by: Waiman Long <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
