diff options
| author | Rik van Riel <[email protected]> | 2024-10-10 15:36:51 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-10-22 09:16:58 +0000 |
| commit | 0dfcb72d33c767bbe63f4a6872108515594154d9 (patch) | |
| tree | fc0e50854337cda8e30088ea701af88464006bf9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | mm/page-writeback.c: Fix comment of wb_domain_writeout_add() (diff) | |
| download | kernel-0dfcb72d33c767bbe63f4a6872108515594154d9.tar.gz kernel-0dfcb72d33c767bbe63f4a6872108515594154d9.zip | |
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: Rik van Riel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
