summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-01-30 01:56:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 13:36:58 +0300
commite6ea8908c74b02d012dd50c8516eac430c714888 (patch)
treedf1e68ae3878205df5d422156155e639414572f0 /tools/perf/scripts/python/stackcollapse.py
parentd94af3b75f0e87fd64a65465f0ba9d81dd190671 (diff)
downloadlinux-e6ea8908c74b02d012dd50c8516eac430c714888.tar.xz
md: Fix linear_set_limits()
commit a572593ac80e51eb69ecede7e614289fcccdbf8d upstream. queue_limits_cancel_update() must only be called if queue_limits_start_update() is called first. Remove the queue_limits_cancel_update() call from linear_set_limits() because there is no corresponding queue_limits_start_update() call. This bug was discovered by annotating all mutex operations with clang thread-safety attributes and by building the kernel with clang and -Wthread-safety. Cc: Yu Kuai <yukuai3@huawei.com> Cc: Coly Li <colyli@kernel.org> Cc: Mike Snitzer <snitzer@kernel.org> Cc: Christoph Hellwig <hch@lst.de> Fixes: 127186cfb184 ("md: reintroduce md-linear") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250129225636.2667932-1-bvanassche@acm.org Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions