Skip to content
Unverified Commit 0dfcb72d authored by Rik van Riel's avatar Rik van Riel Committed by Christian Brauner
Browse files

coredump: add cond_resched() to dump_user_range



The loop between elf_core_dump() and dump_user_range() can run for
so long that the system shows softlockup messages, with side effects
like workqueues and RCU getting stuck on the core dumping CPU.

Add a cond_resched() in dump_user_range() to avoid that softlockup.

Signed-off-by: default avatarRik van Riel <riel@surriel.com>
Link: https://lore.kernel.org/r/20241010113651.50cb0366@imladris.surriel.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 98f3ac9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment