diff options
author | Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com> | 2016-09-19 01:59:48 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-09-20 20:02:49 -0400 |
commit | 3dfb4c1bf049535c82843fc4f9c37b635fe6494e (patch) | |
tree | a868621d32ec91ba59ae8e1c8a48d34c7de1d679 /Documentation/kdump | |
parent | be6c30956fa3dff2658c5ede40c80e461e2124ff (diff) |
Documentation: kdump: Remind user of nr_cpus
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>
Diffstat (limited to 'Documentation/kdump')
-rw-r--r-- | Documentation/kdump/kdump.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d5fde3..f7ef34065d54 100644 --- a/Documentation/kdump/kdump.txt +++ b/Documentation/kdump/kdump.txt | |||
@@ -393,6 +393,8 @@ Notes on loading the dump-capture kernel: | |||
393 | * We generally don' have to bring up a SMP kernel just to capture the | 393 | * We generally don' have to bring up a SMP kernel just to capture the |
394 | dump. Hence generally it is useful either to build a UP dump-capture | 394 | dump. Hence generally it is useful either to build a UP dump-capture |
395 | kernel or specify maxcpus=1 option while loading dump-capture kernel. | 395 | kernel or specify maxcpus=1 option while loading dump-capture kernel. |
396 | Note, though maxcpus always works, you had better replace it with | ||
397 | nr_cpus to save memory if supported by the current ARCH, such as x86. | ||
396 | 398 | ||
397 | * For s390x there are two kdump modes: If a ELF header is specified with | 399 | * For s390x there are two kdump modes: If a ELF header is specified with |
398 | the elfcorehdr= kernel parameter, it is used by the kdump kernel as it | 400 | the elfcorehdr= kernel parameter, it is used by the kdump kernel as it |