Re: [PATCH v6 1/5] vmcore: Introduce ELF header in new memory feature

2013-07-02 Thread Vivek Goyal
On Mon, Jul 01, 2013 at 09:32:35PM +0200, Michael Holzheu wrote: > Currently for s390 we create the ELF core header in the 2nd kernel > with a small trick. We relocate the addresses in the ELF header in > a way that for the /proc/vmcore code it seems to be in the 1st kernel > (old) memory and the r

[PATCH v6 1/5] vmcore: Introduce ELF header in new memory feature

2013-07-01 Thread Michael Holzheu
Currently for s390 we create the ELF core header in the 2nd kernel with a small trick. We relocate the addresses in the ELF header in a way that for the /proc/vmcore code it seems to be in the 1st kernel (old) memory and the read_from_oldmem() returns the correct data. This allows the /proc/vmcore