summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorXunlei Pang2017-07-12 23:33:14 +0200
committerLinus Torvalds2017-07-13 01:25:59 +0200
commit203e9e41219b4e7357104e525e91ac609fba2c6c (patch)
treef7b0b4235857f20c11bf15d2e582d57f9f29a872 /arch/powerpc/kernel
parentkernel/fork.c: virtually mapped stacks: do not disable interrupts (diff)
downloadkernel-qcow2-linux-203e9e41219b4e7357104e525e91ac609fba2c6c.tar.gz
kernel-qcow2-linux-203e9e41219b4e7357104e525e91ac609fba2c6c.tar.xz
kernel-qcow2-linux-203e9e41219b4e7357104e525e91ac609fba2c6c.zip
kexec: move vmcoreinfo out of the kernel's .bss section
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. Link: http://lkml.kernel.org/r/1493281021-20737-1-git-send-email-xlpang@redhat.com Signed-off-by: Xunlei Pang <xlpang@redhat.com> Tested-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Reviewed-by: Juergen Gross <jgross@suse.com> Suggested-by: Eric Biederman <ebiederm@xmission.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Dave Young <dyoung@redhat.com> Cc: Hari Bathini <hbathini@linux.vnet.ibm.com> Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions