Commit c9af3fa9e1e3e5154649991a14b74f3a2dee19ee
Committed by
Martin Schwidefsky
1 parent
0576fc703a
Exists in
master
and in
39 other branches
[S390] topology: change default
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>
Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff
Documentation/kernel-parameters.txt
... | ... | @@ -2438,7 +2438,7 @@ |
2438 | 2438 | topology informations if the hardware supports these. |
2439 | 2439 | The scheduler will make use of these informations and |
2440 | 2440 | e.g. base its process migration decisions on it. |
2441 | - Default is off. | |
2441 | + Default is on. | |
2442 | 2442 | |
2443 | 2443 | tp720= [HW,PS2] |
2444 | 2444 |
arch/s390/kernel/topology.c
... | ... | @@ -63,7 +63,7 @@ |
63 | 63 | cpumask_t mask; |
64 | 64 | }; |
65 | 65 | |
66 | -static int topology_enabled; | |
66 | +static int topology_enabled = 1; | |
67 | 67 | static void topology_work_fn(struct work_struct *work); |
68 | 68 | static struct tl_info *tl_info; |
69 | 69 | static int machine_has_topology; |
70 | 70 | |
... | ... | @@ -311,9 +311,9 @@ |
311 | 311 | |
312 | 312 | static int __init early_parse_topology(char *p) |
313 | 313 | { |
314 | - if (strncmp(p, "on", 2)) | |
314 | + if (strncmp(p, "off", 3)) | |
315 | 315 | return 0; |
316 | - topology_enabled = 1; | |
316 | + topology_enabled = 0; | |
317 | 317 | return 0; |
318 | 318 | } |
319 | 319 | early_param("topology", early_parse_topology); |