From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjZcA-0004Tt-AX for kexec@lists.infradead.org; Thu, 21 Nov 2013 19:08:34 +0000 Date: Thu, 21 Nov 2013 14:08:08 -0500 From: Vivek Goyal Subject: Re: [PATCH 1/6] kexec: Export vmcoreinfo note size properly Message-ID: <20131121190808.GJ16208@redhat.com> References: <1384969851-7251-1-git-send-email-vgoyal@redhat.com> <1384969851-7251-2-git-send-email-vgoyal@redhat.com> <20131121185900.GB17070@kroah.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20131121185900.GB17070@kroah.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Greg KH Cc: mjg59@srcf.ucam.org, hpa@zytor.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, ebiederm@xmission.com On Thu, Nov 21, 2013 at 10:59:00AM -0800, Greg KH wrote: > On Wed, Nov 20, 2013 at 12:50:46PM -0500, Vivek Goyal wrote: > > Right now we seem to be exporting the max data size contained inside > > vmcoreinfo note. But this does not include the size of meta data around > > vmcore info data. Like name of the note and starting and ending elf_note. > > > > I think user space expects total size and that size is put in PT_NOTE > > elf header. > > > > Signed-off-by: Vivek Goyal > > --- > > kernel/ksysfs.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > This should go into 3.13, right? > > Nice fix. Yes. This is just a general fix for kexec. I noticed it while going through the code. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec