diff options
author | Yu Kuai <[email protected]> | 2024-05-09 20:11:07 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-09 09:44:56 -0600 |
commit | a3166c51702bb00b8f8b84022090cbab8f37be1a (patch) | |
tree | dc0f7d08dc8dc0438a578f96809658ff97016c5f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bf20ab538c81bb32edab86f503fc0c55d8243bbc (diff) |
blk-throttle: delay initialization until configuration
Other cgroup policy like bfq, iocost are lazy-initialized when they are
configured for the first time for the device, but blk-throttle is
initialized unconditionally from blkcg_init_disk().
Delay initialization of blk-throttle as well, to save some cpu and
memory overhead if it's not configured.
Noted that once it's initialized, it can't be destroyed until disk
removal, even if it's disabled.
Signed-off-by: Yu Kuai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions