diff options
author | Yuyang Du <yuyang.du@intel.com> | 2015-07-06 06:11:51 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-03 12:21:19 +0200 |
commit | 985d3a4c11cd28251bcc7925aa2d7a9038910384 (patch) | |
tree | f93f877988e036e804150ff1b4427c66ba56facc /lib/nlattr.c | |
parent | 63caae8480921773b46adec0b6ddac9a844a042f (diff) | |
download | op-kernel-dev-985d3a4c11cd28251bcc7925aa2d7a9038910384.zip op-kernel-dev-985d3a4c11cd28251bcc7925aa2d7a9038910384.tar.gz |
sched/fair: Avoid pulling all tasks in idle balancing
In idle balancing where a CPU going idle pulls tasks from another CPU,
a livelock may happen if the CPU pulls all tasks from another, makes
it idle, and this iterates. So just avoid this.
Reported-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ben Segall <bsegall@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Morten Rasmussen <morten.rasmussen@arm.com>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20150705221151.GF5197@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions