diff options
author | 2023-04-03 16:49:14 -0700 | |
---|---|---|
committer | 2023-05-09 17:26:21 -0700 | |
commit | cdfa0f6fa6b7183c062046043b649b9a91e3ac52 (patch) | |
tree | f41f5abdf97e0fa3060ac924c0b62be0b5def5a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu/kvfree: Eliminate k[v]free_rcu() single argument macro (diff) | |
download | wireguard-linux-cdfa0f6fa6b7183c062046043b649b9a91e3ac52.tar.xz wireguard-linux-cdfa0f6fa6b7183c062046043b649b9a91e3ac52.zip |
rcu/kvfree: Add debug to check grace periods
This commit adds debugging checks to verify that the required RCU
grace period has elapsed for each kvfree_rcu_bulk_data structure that
arrives at the kvfree_rcu_bulk() function. These checks make use
of that structure's ->gp_snap field, which has been upgraded from an
unsigned long to an rcu_gp_oldstate structure. This upgrade reduces
the chances of false positives to nearly zero, even on 32-bit systems,
for which this structure carries 64 bits of state.
Cc: Ziwei Dai <ziwei.dai@unisoc.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