summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2012-02-16 02:15:08 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-02-23 00:50:02 +0100
commitb500afff11f64227ca69fd2d05986d08d9573935 (patch)
tree611abfdfca1a12225f4ffbac7661a80bba3c46a4 /arch/powerpc/kernel/setup-common.c
parentfadump: Introduce cleanup routine to invalidate /proc/vmcore. (diff)
downloadlinux-b500afff11f64227ca69fd2d05986d08d9573935.tar.xz
linux-b500afff11f64227ca69fd2d05986d08d9573935.zip
fadump: Invalidate registration and release reserved memory for general use.
This patch introduces an sysfs interface '/sys/kernel/fadump_release_mem' to invalidate the last fadump registration, invalidate '/proc/vmcore', release the reserved memory for general use and re-register for future kernel dump. Once the dump is copied to the disk, unlike phyp dump, the userspace tool can release all the memory reserved for dump with one single operation of echo 1 to '/sys/kernel/fadump_release_mem'. Release the reserved memory region excluding the size of the memory required for future kernel dump registration. And therefore, unlike kdump, Fadump doesn't need a 2nd reboot to get back the system to the production configuration. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
0 files changed, 0 insertions, 0 deletions