diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2023-03-17 14:51:41 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2023-03-20 11:12:49 +0100 |
| commit | d28d86a07dbca4b6e33032196ef4a9a7121181b4 (patch) | |
| tree | adb2709f82c814ccfb3dea39f903317c1c6b77aa /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | s390/ap: add ap status asynch error support (diff) | |
| download | linux-d28d86a07dbca4b6e33032196ef4a9a7121181b4.tar.gz linux-d28d86a07dbca4b6e33032196ef4a9a7121181b4.zip | |
s390/mm: make use of atomic_fetch_xor()
Make use of atomic_fetch_xor() instead of an atomic_cmpxchg() loop to
implement atomic_xor_bits() (aka atomic_xor_return()). This makes the C
code more readable and in addition generates better code, since for z196
and newer a single lax instruction is generated instead of a cmpxchg()
loop.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
