Re: [PATCH v3 00/21] kdump, vmcore: support mmap() on /proc/vmcore
From: Eric W. Biederman
Date: Thu Mar 21 2013 - 03:15:00 EST
HATAYAMA Daisuke <d.hatayama@xxxxxxxxxxxxxx> writes:
> The breakage was caused by the introduction of new NT_VMCORE_PAD to
> "VMCOREINFO" name, except for which it worked fine. But it will be
> dropped in the next version. It'll be no problem for some time.
> The breakage was caused by makedumpfile itself due to the bug that it
> had so far seen note type only, not note name. It was possible to
> avoid the breakage by choosing another note name but I didn't do
> it. This topic will probably arise when some kind of new note types
> are needed.
Yes. Not ignoring unknown note types is a a deficiency in makedumpfile.
And definitely not something to keep us from introducing new note types.
It should be noted that a common use of /proc/vmcore is to do:
cp /proc/vmcore /somepath/core
makedumpfile is just an optimization on that for people who want to
write a smaller file.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/