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


Groups > linux.kernel > #1452236 > unrolled thread

[PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus

Started byZhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
First post2016-07-29 05:30 +0200
Last post2016-07-30 04:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com> - 2016-07-29 05:30 +0200
    Re: [PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus Baoquan He <bhe@redhat.com> - 2016-07-30 04:30 +0200

#1452236 — [PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus

FromZhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Date2016-07-29 05:30 +0200
Subject[PATCH 1/2] Documentation: kdump: update maxcpus to nr_cpus
Message-ID<s06EO-7sn-9@gated-at.bofh.it>
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 <zhouwj-fnst@cn.fujitsu.com>
---
 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.
 
 * 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

[toc] | [next] | [standalone]


#1452633

FromBaoquan He <bhe@redhat.com>
Date2016-07-30 04:30 +0200
Message-ID<s0sch-4Rx-5@gated-at.bofh.it>
In reply to#1452236
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 <zhouwj-fnst@cn.fujitsu.com>
> ---
>  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
> 
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web