summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-11-10 10:54:35 +0100
committerIngo Molnar <mingo@kernel.org>2014-11-16 10:04:17 +0100
commit7af683350cb0ddd0e9d3819b4eb7abe9e2d3e709 (patch)
tree1e05f9a67523237c633bf1ec18afd1fd6327e2d7 /include/linux/kernel_stat.h
parentc123588b3b193d06588dfb51f475407f835ebfb2 (diff)
downloadlinux-stable-7af683350cb0ddd0e9d3819b4eb7abe9e2d3e709.tar.gz
linux-stable-7af683350cb0ddd0e9d3819b4eb7abe9e2d3e709.tar.bz2
linux-stable-7af683350cb0ddd0e9d3819b4eb7abe9e2d3e709.zip
sched/numa: Avoid selecting oneself as swap target
Because the whole numa task selection stuff runs with preemption enabled (its long and expensive) we can end up migrating and selecting oneself as a swap target. This doesn't really work out well -- we end up trying to acquire the same lock twice for the swap migrate -- so avoid this. Reported-and-Tested-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/20141110100328.GF29390@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions