]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[S390] topology: change default
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Oct 2010 14:10:43 +0000 (16:10 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 25 Oct 2010 14:10:20 +0000 (16:10 +0200)
Switch default value of the kernel parameter 'topology' from off to on.
Various performance measurements have finally shown that there are no
(known) regressions anywhere.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Documentation/kernel-parameters.txt
arch/s390/kernel/topology.c

index 0b6815504e6de780f84b8aef3daa0acec47957ac..b660085dcc69a17063284ad883939091b8a20c1b 100644 (file)
@@ -2438,7 +2438,7 @@ and is between 256 and 4096 characters. It is defined in the file
                        topology informations if the hardware supports these.
                        The scheduler will make use of these informations and
                        e.g. base its process migration decisions on it.
-                       Default is off.
+                       Default is on.
 
        tp720=          [HW,PS2]
 
index 13559c9938470b9d7d0c2597f6418e518d865c78..eb0bc4752ae8281781ee9e755520912d963058a5 100644 (file)
@@ -63,7 +63,7 @@ struct mask_info {
        cpumask_t mask;
 };
 
-static int topology_enabled;
+static int topology_enabled = 1;
 static void topology_work_fn(struct work_struct *work);
 static struct tl_info *tl_info;
 static int machine_has_topology;
@@ -311,9 +311,9 @@ static void set_topology_timer(void)
 
 static int __init early_parse_topology(char *p)
 {
-       if (strncmp(p, "on", 2))
+       if (strncmp(p, "off", 3))
                return 0;
-       topology_enabled = 1;
+       topology_enabled = 0;
        return 0;
 }
 early_param("topology", early_parse_topology);