From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938615AbcISGAS (ORCPT ); Mon, 19 Sep 2016 02:00:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936476AbcISGAD (ORCPT ); Mon, 19 Sep 2016 02:00:03 -0400 From: Baoquan He To: corbet@lwn.net, akpm@linux-foundation.org Cc: linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, xlpang@redhat.com, dyoung@redhat.com, Zhou Wenjian Subject: [PATCH v10 RESEND 2/3] Documentation: kdump: Remind user of nr_cpus Date: Mon, 19 Sep 2016 13:59:48 +0800 Message-Id: <1474264789-11705-3-git-send-email-bhe@redhat.com> In-Reply-To: <1474264789-11705-1-git-send-email-bhe@redhat.com> References: <1474264789-11705-1-git-send-email-bhe@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 19 Sep 2016 06:00:02 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhou Wenjian nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d..f7ef340 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 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 -- 2.5.5