summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2021-07-07 03:56:49 +0200
committerJens Axboe <axboe@kernel.dk>2021-07-07 17:36:36 +0200
commita731763fc479a9c64456e0643d0ccf64203100c9 (patch)
tree95e194d57e6bf16885e164006d023d1605204ab9 /arch/um
parentblock: fix the problem of io_ticks becoming smaller (diff)
downloadlinux-a731763fc479a9c64456e0643d0ccf64203100c9.tar.xz
linux-a731763fc479a9c64456e0643d0ccf64203100c9.zip
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 <yukuai3@huawei.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20210707015649.1929797-1-yukuai3@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions