From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753804AbcG3CUO (ORCPT ); Fri, 29 Jul 2016 22:20:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35184 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbcG3CUF (ORCPT ); Fri, 29 Jul 2016 22:20:05 -0400 Date: Sat, 30 Jul 2016 10:19:59 +0800 From: Baoquan He To: Zhou Wenjian Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, dyoung@redhat.com, d.hatayama@jp.fujitsu.com Subject: Re: [PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus Message-ID: <20160730021959.GC2583@x1.redhat.com> References: <1469762595-1085-1-git-send-email-zhouwj-fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1469762595-1085-1-git-send-email-zhouwj-fnst@cn.fujitsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 30 Jul 2016 02:20:04 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/29/16 at 11:23am, Zhou Wenjian wrote: > Parameter nr_cpus is used to bring up a SMP dump-capture kernel, > instead of the old parameter maxcpus. This commit update it in > Documentation/kdump/kdump.txt. > > Signed-off-by: Zhou Wenjian > --- > Documentation/kdump/kdump.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt > index 88ff63d..9a77247 100644 > --- a/Documentation/kdump/kdump.txt > +++ b/Documentation/kdump/kdump.txt > @@ -392,7 +392,7 @@ 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. > + kernel or specify nr_cpus=1 option while loading dump-capture kernel. IIRC, ARCHes like ppc don't have nr_cpus yet, maxpcus is necessary. So either you explicitly tell which can use nr_cpus and which can only use maxcpus option, or drop this patch for now. > > * 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 > > >