Commit 3dfb4c1b authored by Zhou Wenjian's avatar Zhou Wenjian Committed by Jonathan Corbet

Documentation: kdump: Remind user of nr_cpus

nr_cpus can help to save memory. So we should remind user of it.
Signed-off-by: default avatarZhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Acked-by: default avatarBaoquan He <bhe@redhat.com>
Acked-by: default avatarXunlei Pang <xpang@redhat.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent be6c3095
...@@ -393,6 +393,8 @@ Notes on loading the dump-capture kernel: ...@@ -393,6 +393,8 @@ Notes on loading the dump-capture kernel:
* We generally don' have to bring up a SMP kernel just to capture the * We generally don' have to bring up a SMP kernel just to capture the
dump. Hence generally it is useful either to build a UP dump-capture dump. Hence generally it is useful either to build a UP dump-capture
kernel or specify maxcpus=1 option while loading dump-capture kernel. kernel or specify maxcpus=1 option while loading dump-capture kernel.
Note, though maxcpus always works, you had better replace it with
nr_cpus to save memory if supported by the current ARCH, such as x86.
* For s390x there are two kdump modes: If a ELF header is specified with * For s390x there are two kdump modes: If a ELF header is specified with
the elfcorehdr= kernel parameter, it is used by the kdump kernel as it the elfcorehdr= kernel parameter, it is used by the kdump kernel as it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment