aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2020-05-27 05:24:17 +0000
committerJens Axboe <[email protected]>2020-05-27 11:21:23 +0000
commit8ab1d40a646e753adb6814642432a093d93dbf47 (patch)
treef70e9ee9cc1ea5823cba3865f380a597ef5db3ca /tools/perf/scripts/python
parentblock: add a blk_account_io_merge_bio helper (diff)
downloadkernel-8ab1d40a646e753adb6814642432a093d93dbf47.tar.gz
kernel-8ab1d40a646e753adb6814642432a093d93dbf47.zip
block: remove rcu_read_lock() from part_stat_lock()
The RCU lock is required only in disk_map_sector_rcu() to lookup the partition. After that request holds reference to related hd_struct. Replace get_cpu() with preempt_disable() - returned cpu index is unused. [hch: rebased] Signed-off-by: Konstantin Khlebnikov <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions