提交 f414f5f1 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

[S390] cpu topology: dont destroy cpu sets on topology change

Call rebuild_sched_domains instead of arch_reinit_sched_domains if
cpu topology changes. This leaves cpu sets alone which otherwise would
be destroyed.
If and how it makes sense to define cpu sets on a virtualized
architecture is another question.
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 8f2961c3
......@@ -12,6 +12,7 @@
#include <linux/workqueue.h>
#include <linux/cpu.h>
#include <linux/smp.h>
#include <linux/cpuset.h>
#include <asm/delay.h>
#include <asm/s390_ext.h>
#include <asm/sysinfo.h>
......@@ -234,7 +235,7 @@ void arch_update_cpu_topology(void)
static void topology_work_fn(struct work_struct *work)
{
arch_reinit_sched_domains();
rebuild_sched_domains();
}
void topology_schedule_update(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册