diff options
author | 2024-08-07 11:55:00 +0200 | |
---|---|---|
committer | 2024-08-11 11:34:47 +0530 | |
commit | fb579e6656a8d5e042e65062f68ca41321817237 (patch) | |
tree | b24ac77200be3bdad468bf030f394132a566add6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Better define "atomic" for list replacement (diff) | |
download | wireguard-linux-fb579e6656a8d5e042e65062f68ca41321817237.tar.xz wireguard-linux-fb579e6656a8d5e042e65062f68ca41321817237.zip |
rcu: Annotate struct kvfree_rcu_bulk_data with __counted_by()
Add the __counted_by compiler attribute to the flexible array member
records to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Increment nr_records before adding a new pointer to the records array.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Reviewed-by: "Uladzislau Rezki (Sony)" <urezki@gmail.com>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions