[PATCH 0/2] kdump/mmap: Fix mmap of /proc/vmcore for s390

Vivek Goyal vgoyal at redhat.com
Tue May 28 10:44:47 EDT 2013

On Sat, May 25, 2013 at 02:52:17PM +0200, Michael Holzheu wrote:

> Therefore, if necessary, IMHO we can switch to the ELF header memory
> swap mechanism for s390 in the kernel. Of course we would then also
> have to adjust the (disabled) kexec code.

I think it is a good idea to fix it in s390 kernel so that
copy_oldmem_page() does not do any swapping and fix the ELF header
generation logic and any swapping is done in ELF headers.

Agreed that we need to fixed s390 kexec-tools too. I guess our best
bet would be to parse the kernel version and fix headers only for
newer kernel versions. This assumes that first kernel and second kernel
are same but that's the case for majority of the people anyway. So for
majority of people, change will be backward compatible.


More information about the kexec mailing list