[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <325a8a1b-8f52-b05d-3b7f-440f365dfbbc@suse.com>
Date: Thu, 20 Apr 2017 16:24:41 +0200
From: Juergen Gross <jgross@...e.com>
To: Xunlei Pang <xlpang@...hat.com>, linux-kernel@...r.kernel.org,
kexec@...ts.infradead.org
Cc: akpm@...ux-foundation.org, Eric Biederman <ebiederm@...ssion.com>,
Dave Young <dyoung@...hat.com>, Baoquan He <bhe@...hat.com>,
Petr Tesarik <ptesarik@...e.cz>,
Hari Bathini <hbathini@...ux.vnet.ibm.com>,
Michael Holzheu <holzheu@...ux.vnet.ibm.com>
Subject: Re: [PATCH v4 1/3] kexec: Move vmcoreinfo out of the kernel's .bss
section
On 20/04/17 13:39, Xunlei Pang 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.
>
> Suggested-by: Eric Biederman <ebiederm@...ssion.com>
> Cc: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
> Cc: Juergen Gross <jgross@...e.com>
> Signed-off-by: Xunlei Pang <xlpang@...hat.com>
Xen parts: Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Powered by blists - more mailing lists