[PATCH v3 1/3] kexec: Move vmcoreinfo out of the kernel's .bss section

Petr Tesarik ptesarik at suse.cz
Tue Mar 21 02:27:56 PDT 2017


On Mon, 20 Mar 2017 13:50:31 +0800
Xunlei Pang <xlpang at redhat.com> wrote:

> As Eric said,
> "what we need to do is move the variable vmcoreinfo_note out
> of the kernel's .bss section.  And modify the code to regenerate
> and keep this information in something like the control page.
> 
> Definitely something like this needs a page all to itself, and ideally
> far away from any other kernel data structures.  I clearly was not
> watching closely the data someone decided to keep this silly thing
> in the kernel's .bss section."
> 
> This patch allocates extra pages for these vmcoreinfo_XXX variables,
> one advantage is that it enhances some safety of vmcoreinfo, because
> vmcoreinfo now is kept far away from other kernel data structures.

Yes, I like this patch set very much now. Thank you!

Petr T



More information about the kexec mailing list