[kexec-tools/f20] s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x

WANG Chao wangchao at fedoraproject.org
Wed Jan 22 05:07:50 UTC 2014


commit cfd66f0891ff95554041b2fbc67cbade7a257f85
Author: WANG Chao <chaowang at redhat.com>
Date:   Tue Jan 21 12:16:13 2014 +0800

    s390x, sysconfig: Change maxcpus=1 to nr_cpus=1 for s390x
    
    IBM would strongly recommend for s390x to replace "maxcpus=1" with
    "nr_cpus=1" because with the "nr_cpus=1" kernel parameter only for one
    CPU the per-cpu data structures are allocated. This currently saves
    several MiB of memory.
    
    IBM (michael.holzheu at de.ibm.com) has confirmed this patch worked fine.
    
    Signed-off-by: WANG Chao <chaowang at redhat.com>
    Acked-by: Dave Young <dyoung at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 kdump.sysconfig.s390x |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kdump.sysconfig.s390x b/kdump.sysconfig.s390x
index b55515a..848b043 100644
--- a/kdump.sysconfig.s390x
+++ b/kdump.sysconfig.s390x
@@ -16,7 +16,7 @@ KDUMP_COMMANDLINE=""
 
 # This variable lets us append arguments to the current kdump commandline
 # As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
-KDUMP_COMMANDLINE_APPEND="maxcpus=1 cgroup_disable=memory numa=off udev.children-max=2 panic=10 rootflags=nofail"
+KDUMP_COMMANDLINE_APPEND="nr_cpus=1 cgroup_disable=memory numa=off udev.children-max=2 panic=10 rootflags=nofail"
 
 # Any additional /sbin/mkdumprd arguments required.
 MKDUMPRD_ARGS=""


More information about the scm-commits mailing list