kernel_samsung_a53x/fs/proc
Rik van Riel c0411a8866 fs/proc: fix softlockup in __read_vmcore
commit 5cbcb62dddf5346077feb82b7b0c9254222d3445 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 14:19:04 +01:00
..
array.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bootconfig.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmdline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
consoles.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpuinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devices.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fd.c proc/fd: In fdinfo seq_show don't use get_files_struct 2024-11-19 12:27:28 +01:00
fd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fslog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
interrupts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kmsg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
loadavg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meminfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namespaces.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
page.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
proc_net.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
proc_sysctl.c watchdog: move softlockup_panic back to early_param 2024-11-18 11:43:21 +01:00
proc_tty.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
root.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
self.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
softirqs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
task_mmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
task_nommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread_self.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uptime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
version.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmcore.c fs/proc: fix softlockup in __read_vmcore 2024-11-19 14:19:04 +01:00