]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] topology: fix cpu masks for topology=off case
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 29 Oct 2010 14:50:38 +0000 (16:50 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 29 Oct 2010 14:50:50 +0000 (16:50 +0200)
commit39f3b6bbb97f23b840d751bf8749f88e7e91df34
tree5b10a1f7d105299b49612f0c5076bda3640611b8
parent3ce43aa7ea2e17ff6254f0a346a05a1eac238c9b
[S390] topology: fix cpu masks for topology=off case

Fix cpu masks for 'topology=off' case. Folding of the scheduling domains
happen in such a way that everything belongs to the MC domain instead
of the CPU doimain.
This should fix a performance regression introduced with
99d17000 "[S390] topology: use default MC domain initializer" and also
makes sure we have the same behavious as if CONFIG_SCHED_MC was not
selected at all.

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