Skip to content

Commit

Permalink
[S390] topology: change default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Oct 25, 2010
1 parent 0576fc7 commit c9af3fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
6 changes: 3 additions & 3 deletions arch/s390/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c9af3fa

Please sign in to comment.