aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wait.h
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2016-09-21 12:19:03 -0700
committerIngo Molnar <mingo@kernel.org>2016-09-30 10:53:18 +0200
commit8f37961cf22304fb286c7604d3a7f6104dcc1283 (patch)
tree36c12eb9c7a0266424de4d9aa8d26394c09960ea /include/linux/wait.h
parentMerge branch 'linus' into sched/core, to pick up fixes (diff)
downloadlinux-dev-8f37961cf22304fb286c7604d3a7f6104dcc1283.tar.xz
linux-dev-8f37961cf22304fb286c7604d3a7f6104dcc1283.zip
sched/core, x86/topology: Fix NUMA in package topology bug
Current code can call set_cpu_sibling_map() and invoke sched_set_topology() more than once (e.g. on CPU hot plug). When this happens after sched_init_smp() has been called, we lose the NUMA topology extension to sched_domain_topology in sched_init_numa(). This results in incorrect topology when the sched domain is rebuilt. This patch fixes the bug and issues warning if we call sched_set_topology() after sched_init_smp(). Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: bp@suse.de Cc: jolsa@redhat.com Cc: rjw@rjwysocki.net Link: http://lkml.kernel.org/r/1474485552-141429-2-git-send-email-srinivas.pandruvada@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/wait.h')
0 files changed, 0 insertions, 0 deletions