aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2018-04-26 10:19:32 +0000
committerIngo Molnar <[email protected]>2018-05-03 05:38:03 +0000
commit457be908c83637ee10bda085a23dc05afa3b14a0 (patch)
treee578083954eca7d085ad6428ca5ddc140657c40a /tools/perf/util/llvm-utils.c
parentstop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock (diff)
downloadkernel-457be908c83637ee10bda085a23dc05afa3b14a0.tar.gz
kernel-457be908c83637ee10bda085a23dc05afa3b14a0.zip
sched/fair: Fix the update of blocked load when newly idle
With commit: 31e77c93e432 ("sched/fair: Update blocked load when newly idle") ... we release the rq->lock when updating blocked load of idle CPUs. This opens a time window during which another CPU can add a task to this CPU's cfs_rq. The check for newly added task of idle_balance() is not in the common path. Move the out label to include this check. Reported-by: Heiner Kallweit <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Fixes: 31e77c93e432 ("sched/fair: Update blocked load when newly idle") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions