aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNilay Shroff <[email protected]>2025-07-30 07:46:07 +0000
committerJens Axboe <[email protected]>2025-07-30 12:20:51 +0000
commit49811586be373e26a3ab52f54e0dfa663c02fddd (patch)
treea6d88add0ff7bc1a9cfa3184856cf553fd8b2d7b /tools/perf/scripts/python/mem-phys-addr.py
parentblk-ioc: don't hold queue_lock for ioc_lookup_icq() (diff)
downloadkernel-49811586be373e26a3ab52f54e0dfa663c02fddd.tar.gz
kernel-49811586be373e26a3ab52f54e0dfa663c02fddd.zip
block: move elevator queue allocation logic into blk_mq_init_sched
In preparation for allocating sched_tags before freezing the request queue and acquiring ->elevator_lock, move the elevator queue allocation logic from the elevator ops ->init_sched callback into blk_mq_init_sched. As elevator_alloc is now only invoked from block layer core, we don't need to export it, so unexport elevator_alloc function. This refactoring provides a centralized location for elevator queue initialization, which makes it easier to store pre-allocated sched_tags in the struct elevator_queue during later changes. Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Nilay Shroff <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions