diff options
author | Christoph Hellwig <[email protected]> | 2022-03-30 07:29:09 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-18 06:54:09 -0600 |
commit | b15ed54694fbba714931dd81790f86797cf8bed2 (patch) | |
tree | 43c241dd8834f76771d7717fc1ad15d17a508a87 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 2cf429b53c1041a0e90943e1d2a5a7a7f89accb0 (diff) |
loop: initialize the worker tracking fields once
There is no need to reinitialize idle_worker_list, worker_tree and timer
every time a loop device is configured. Just initialize them once at
allocation time.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Tested-by: Darrick J. Wong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions