diff options
author | Yu Kuai <[email protected]> | 2021-07-07 09:56:49 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-07-07 09:36:36 -0600 |
commit | a731763fc479a9c64456e0643d0ccf64203100c9 (patch) | |
tree | 95e194d57e6bf16885e164006d023d1605204ab9 /tools/perf/util/trace-event-scripting.c | |
parent | d80c228d44640f0b47b57a2ca4afa26ef87e16b0 (diff) |
blk-cgroup: prevent rcu_sched detected stalls warnings while iterating blkgs
We run a test that create millions of cgroups and blkgs, and then trigger
blkg_destroy_all(). blkg_destroy_all() will hold spin lock for a long
time in such situation. Thus release the lock when a batch of blkgs are
destroyed.
blkcg_activate_policy() and blkcg_deactivate_policy() might have the
same problem, however, as they are basically only called from module
init/exit paths, let's leave them alone for now.
Signed-off-by: Yu Kuai <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions