summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2025-09-12 13:38:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-19 17:37:44 +0300
commit6d3563a6bfa62ae14df2248e813481f1c948b0b3 (patch)
treed92151c58c8b0a6a98c5e4313a3872b9af105a7f /scripts/gdb/linux/utils.py
parent7381cd12252565a83f5060ee7e9bf3aa40e9265a (diff)
downloadlinux-6d3563a6bfa62ae14df2248e813481f1c948b0b3.tar.xz
writeback: Avoid softlockup when switching many inodes
[ Upstream commit 66c14dccd810d42ec5c73bb8a9177489dfd62278 ] process_inode_switch_wbs_work() can be switching over 100 inodes to a different cgroup. Since switching an inode requires counting all dirty & under-writeback pages in the address space of each inode, this can take a significant amount of time. Add a possibility to reschedule after processing each inode to avoid softlockups. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions