From: Amerigo Wang Date: Wed, 16 Dec 2009 00:47:46 +0000 (-0800) Subject: kexec: premit reduction of the reserved memory size X-Git-Tag: v2.6.33-rc1~71^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06a7f711246b081afc21fff859f1003f1f2a0fbc;p=pandora-kernel.git kexec: premit reduction of the reserved memory size Implement shrinking the reserved memory for crash kernel, if it is more than enough. For example, if you have already reserved 128M, now you just want 100M, you can do: # echo $((100*1024*1024)) > /sys/kernel/kexec_crash_size Note, you can only do this before loading the crash kernel. Signed-off-by: WANG Cong Cc: Neil Horman Acked-by: Eric W. Biederman Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed