diff options
author | Vivek Goyal <vgoyal@in.ibm.com> | 2006-06-01 20:39:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 09:24:00 -0700 |
commit | 87937472ff8e34ad5c7b798a8a52e4368af216df (patch) | |
tree | aac98d01aa5395da04243c53b0983eb104df08a2 /drivers/char/pty.c | |
parent | 6550e07f41ce8473ed684dac54fbfbd42183ffda (diff) | |
download | op-kernel-dev-87937472ff8e34ad5c7b798a8a52e4368af216df.zip op-kernel-dev-87937472ff8e34ad5c7b798a8a52e4368af216df.tar.gz |
[PATCH] i386: export memory more than 4G through /proc/iomem
Currently /proc/iomem exports physical memory also apart from io device
memory. But on i386, it truncates any memory more than 4GB. This leads to
problems for kexec/kdump.
Kexec reads /proc/iomem to determine the system memory layout and prepares a
memory map based on that and passes it to the kernel being kexeced. Given the
fact that memory more than 4GB has been truncated, new kernel never gets to
see and use that memory.
Kdump also reads /proc/iomem to determine the physical memory layout of the
system and encodes this informaiton in ELF headers. After a crash new kernel
parses these ELF headers being used by previous kernel and vmcore is prepared
accordingly. As memory more than 4GB has been truncated, kdump never sees
that memory and never prepares ELF headers for it. Hence vmcore is truncated
and limited to 4GB even if there is more physical memory in the system.
This patch exports memory more than 4GB through /proc/iomem on i386.
Cc: Maneesh Soni <maneesh@in.ibm.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/pty.c')
0 files changed, 0 insertions, 0 deletions