diff options
author | 2020-02-04 08:56:41 -0800 | |
---|---|---|
committer | 2020-02-20 15:58:23 -0800 | |
commit | 13817dd589f426aee9c36e3670e7cb2a7f067d23 (patch) | |
tree | 04db373437f324185df6a764d9a825282495e2ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Optimize and protect atomic_cmpxchg() loop (diff) | |
download | linux-dev-13817dd589f426aee9c36e3670e7cb2a7f067d23.tar.xz linux-dev-13817dd589f426aee9c36e3670e7cb2a7f067d23.zip |
rcu: Tighten rcu_lockdep_assert_cblist_protected() check
The ->nocb_lock lockdep assertion is currently guarded by cpu_online(),
which is incorrect for no-CBs CPUs, whose callback lists must be
protected by ->nocb_lock regardless of whether or not the corresponding
CPU is online. This situation could result in failure to detect bugs
resulting from failing to hold ->nocb_lock for offline CPUs.
This commit therefore removes the cpu_online() guard.
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