aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-10-31 13:53:41 +0300
committerJens Axboe <[email protected]>2019-10-31 11:40:57 -0600
commit41591a51f00d2dc7bb9dc6e9bedf56c5cf6f2392 (patch)
treeab2f925a8b59d0ac98b77a1c763e5649afa37241 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent6873e0bd6a9cb14ecfadd89d9ed9698ff1761902 (diff)
iocost: don't nest spin_lock_irq in ioc_weight_write()
This code causes a static analysis warning: block/blk-iocost.c:2113 ioc_weight_write() error: double lock 'irq' We disable IRQs in blkg_conf_prep() and re-enable them in blkg_conf_finish(). IRQ disable/enable should not be nested because that means the IRQs will be enabled at the first unlock instead of the second one. Fixes: 7caa47151ab2 ("blkcg: implement blk-iocost") Acked-by: Tejun Heo <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions