Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-15 Thread Vivek Goyal
On Tue, Jan 14, 2014 at 03:35:54PM -0800, Andrew Morton wrote: > On Tue, 14 Jan 2014 14:33:11 -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

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-15 Thread Vivek Goyal
On Tue, Jan 14, 2014 at 03:35:54PM -0800, Andrew Morton wrote: On Tue, 14 Jan 2014 14:33:11 -0500 Vivek Goyal vgo...@redhat.com 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

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 14:33:11 -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

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Vivek Goyal
CCed to old mail id of Greg. Fixing it. On Tue, Jan 14, 2014 at 02:33:11PM -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

[PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Vivek Goyal
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.

[PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Vivek Goyal
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.

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Vivek Goyal
CCed to old mail id of Greg. Fixing it. On Tue, Jan 14, 2014 at 02:33:11PM -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

Re: [PATCH] kdump: Fix exported size of vmcoreinfo note

2014-01-14 Thread Andrew Morton
On Tue, 14 Jan 2014 14:33:11 -0500 Vivek Goyal vgo...@redhat.com 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