aboutsummaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-12-19 11:54:45 +0100
committerIngo Molnar <mingo@kernel.org>2014-01-13 13:47:25 +0100
commitde212f18e92c952533d57c5510d2790199c75734 (patch)
tree0eb0755691e582abcc7aa104f68a58527d638c92 /mm/memcontrol.c
parent1724813d9f2c7ff702b46d3e4a4f6d9b10a8f8c2 (diff)
sched/deadline: Fix hotplug admission control
The current hotplug admission control is broken because: CPU_DYING -> migration_call() -> migrate_tasks() -> __migrate_task() cannot fail and hard assumes it _will_ move all tasks off of the dying cpu, failing this will break hotplug. The much simpler solution is a DOWN_PREPARE handler that fails when removing one CPU gets us below the total allocated bandwidth. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20131220171343.GL2480@laptop.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions