Documentation: kdump: Remind user of nr_cpus
authorZhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Mon, 19 Sep 2016 05:59:48 +0000 (13:59 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 21 Sep 2016 00:02:49 +0000 (18:02 -0600)
nr_cpus can help to save memory. So we should remind user of it.

Signed-off-by: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Xunlei Pang <xpang@redhat.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/kdump/kdump.txt

index 88ff63d..f7ef340 100644 (file)
@@ -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
   dump. Hence generally it is useful either to build a UP dump-capture
   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
   the elfcorehdr= kernel parameter, it is used by the kdump kernel as it