diff options
author | 2020-03-22 14:03:04 +0800 | |
---|---|---|
committer | 2020-03-22 10:06:57 -0600 | |
commit | b004aa867c48b3232835b61ed9d44b572e29498e (patch) | |
tree | c4e27aff03ea6deada3f73eb5e36d3715d541908 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: Use scnprintf() for avoiding potential buffer overflow (diff) | |
download | wireguard-linux-b004aa867c48b3232835b61ed9d44b572e29498e.tar.xz wireguard-linux-b004aa867c48b3232835b61ed9d44b572e29498e.zip |
bcache: optimize barrier usage for Rmw atomic bitops
We can avoid the unnecessary barrier on non LL/SC architectures,
such as x86. Instead, use the smp_mb__after_atomic().
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions