diff options
author | Rik van Riel <riel@surriel.com> | 2024-05-07 15:18:58 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-12 00:51:44 +0200 |
commit | 5cbcb62dddf5346077feb82b7b0c9254222d3445 (patch) | |
tree | aad879165860d3672e7ecfa11720d7cc73578890 /Documentation/process | |
parent | nilfs2: convert BUG_ON() in nilfs_finish_roll_forward() to WARN_ON() (diff) | |
download | linux-5cbcb62dddf5346077feb82b7b0c9254222d3445.tar.xz linux-5cbcb62dddf5346077feb82b7b0c9254222d3445.zip |
fs/proc: fix softlockup in __read_vmcore
While taking a kernel core dump with makedumpfile on a larger system,
softlockup messages often appear.
While softlockup warnings can be harmless, they can also interfere with
things like RCU freeing memory, which can be problematic when the kdump
kexec image is configured with as little memory as possible.
Avoid the softlockup, and give things like work items and RCU a chance to
do their thing during __read_vmcore by adding a cond_resched.
Link: https://lkml.kernel.org/r/20240507091858.36ff767f@imladris.surriel.com
Signed-off-by: Rik van Riel <riel@surriel.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/process')
0 files changed, 0 insertions, 0 deletions