summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-04-07 10:57:12 -0600
committerSong Liu <song@kernel.org>2022-04-25 14:00:37 -0700
commit4f4ee2bf32860e4aa3b07be3fc9224fbe6cce4fe (patch)
treea68d4a8c8cef1b094044a720eaf31ed18e52ea6d /tools/perf/scripts/python/stackcollapse.py
parent9aeb7f99a134391e19ffad926cfb6a60d72139b4 (diff)
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions