summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-04-07 19:57:12 +0300
committerSong Liu <song@kernel.org>2022-04-26 00:00:37 +0300
commit4f4ee2bf32860e4aa3b07be3fc9224fbe6cce4fe (patch)
treea68d4a8c8cef1b094044a720eaf31ed18e52ea6d /tools/perf/scripts/python/export-to-postgresql.py
parent9aeb7f99a134391e19ffad926cfb6a60d72139b4 (diff)
downloadlinux-4f4ee2bf32860e4aa3b07be3fc9224fbe6cce4fe.tar.xz
md/raid5-ppl: Annotate with rcu_dereference_protected()
To suppress the last remaining sparse warnings about accessing rdev, add rcu_dereference_protected calls to a couple places in raid5-ppl. All of these places are called under raid5_run and therefore are occurring before the array has started and is thus safe. There's no sensible check to do for the second argument of rcu_dereference_protected() so a comment is added instead. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions