[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130219230542.GF6039@redhat.com>
Date: Tue, 19 Feb 2013 18:05:42 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: HATAYAMA Daisuke <d.hatayama@...fujitsu.com>
Cc: ebiederm@...ssion.com, cpw@....com,
kumagai-atsushi@....nes.nec.co.jp, lisa.mitchell@...com,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/13] vmcore: copy ELF note segments in buffer on 2nd
kernel
On Tue, Feb 19, 2013 at 02:02:34AM +0900, HATAYAMA Daisuke wrote:
[..]
> Anyway, what I'll do in the next version, are in summary:
>
> - append pad notes in each notes on the 1st kernel in every
> architectures, and
> - check if each note is in page-size boundary, and if not so, copy it
> in the 2nd kernel and then append pad notes to it.
Makes sense to me. Most of the time first kernel and second kernel are
same so no copying of notes will take place. Only in corner cases of
older kernel being used as first kernel, copying will take place.
One other possibility is that deny mmap() if first kernel did not
prepare notes on page size boundary.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists