diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-05-08 18:00:21 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-06-16 14:44:03 +0300 |
commit | c119a8a3c395b0850f131728bdddd166d172842f (patch) | |
tree | cb8ac6e24a24d0adc1cc99fe9f343a9ea909ea12 /drivers/s390/cio/qdio.h | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-c119a8a3c395b0850f131728bdddd166d172842f.tar.xz |
s390/qdio: fine-tune SLSB update
xchg() for a single-byte location assembles to a 4-byte Compare&Swap,
wrapped into a non-trivial amount of retry code that deals with
concurrent modifications to the unaffected bytes.
Change it to a simple byte-store, but preserve the memory ordering
semantics that the CS provided.
This simplifies the generated code for a hot path, and in theory also
allows us to amortize the memory barriers over multiple SLSB updates.
CC: Andreas Krebbel <krebbel@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio.h')
0 files changed, 0 insertions, 0 deletions