diff options
author | 2020-02-25 15:32:58 +0100 | |
---|---|---|
committer | 2020-03-25 09:56:00 -0700 | |
commit | 44656d3dc4f0dc20010d054f27397a4a1469fabf (patch) | |
tree | 3cc0c8938304bb29992524788e001270d1afb4ca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kcsan: Add option for verbose reporting (diff) | |
download | wireguard-linux-44656d3dc4f0dc20010d054f27397a4a1469fabf.tar.xz wireguard-linux-44656d3dc4f0dc20010d054f27397a4a1469fabf.zip |
kcsan: Add current->state to implicitly atomic accesses
Add volatile current->state to list of implicitly atomic accesses. This
is in preparation to eventually enable KCSAN on kernel/sched (which
currently still has KCSAN_SANITIZE := n).
Since accesses that match the special check in atomic.h are rare, it
makes more sense to move this check to the slow-path, avoiding the
additional compare in the fast-path. With the microbenchmark, a speedup
of ~6% is measured.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions