[PATCH RFC 4/4] crash_dump: use copy_oldmem_to_iter() everywhere

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 12 08:43:08 PST 2026


> Make the remaining copy_oldmem_page() implementations copy the page of
> the crashed kernel with copy_oldmem_to_iter() like x86_64 and powerpc
> do. None of these architectures has a machine check safe copy today, so
> for them this is copy_to_iter() under another name. But the copy of a
> page of the old kernel is in one place now, and an architecture that
> gains ARCH_HAS_COPY_MC later gets the recovery without touching its
> crash dump code.
> 
> s390 stays as it is. It copies the old kernel's memory through its real
> address mode window in memcpy_real_iter(), and an uncorrected storage
> error is fatal on s390 anyway (cf. s390_handle_damage()).
> 
> No functional changes.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261112-work-procfs-oldmem-v1-0-ecdcafd99265@kernel.org?part=4




More information about the kexec mailing list