Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462512

[PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Newsgroups linux.kernel
Subject [PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus
Date Mon, 15 Aug 2016 02:40:01 +0200
Message-ID <s6e6B-6RG-5@gated-at.bofh.it> (permalink)
References <s6e6B-6RG-7@gated-at.bofh.it>
X-Ironport-Av E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="9912380"
X-Mailer git-send-email 1.8.3.1
MIME-Version 1.0
Content-Type text/plain
X-Originating-IP [10.167.226.48]
X-Yoursite-Mailscanner-ID 120F0429594D.A1A0D
X-Yoursite-Mailscanner Found to be clean
X-Yoursite-Mailscanner-From zhouwj-fnst@cn.fujitsu.com
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc <akpm@linux-foundation.org>, <dyoung@redhat.com>, <bhe@redhat.com>, <vgoyal@redhat.com>, <corbet@lwn.net>, <kexec@lists.infradead.org>, <linux-doc@vger.kernel.org>
X-Original-Date Mon, 15 Aug 2016 08:37:10 +0800
X-Original-Message-ID <1471221431-25032-2-git-send-email-zhouwj-fnst@cn.fujitsu.com>
X-Original-References <1471221431-25032-1-git-send-email-zhouwj-fnst@cn.fujitsu.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1462512

Show key headers only | View raw


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>
---
 Documentation/kdump/kdump.txt | 2 +++-
 1 file changed, 2 insertions(+)

diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt
index 88ff63d..96da2b7 100644
--- a/Documentation/kdump/kdump.txt
+++ b/Documentation/kdump/kdump.txt
@@ -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 should replace it by 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
-- 
1.8.3.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/2] update the doc of kdump Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com> - 2016-08-15 02:40 +0200
  [PATCH v6 1/2] Documentation: kdump: remind user of nr_cpus Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com> - 2016-08-15 02:40 +0200
  [PATCH v6 2/2] Documentation: kdump: add description of enable multi-cpus support Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com> - 2016-08-15 02:40 +0200

csiph-web