summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2017-03-17 14:47:22 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2020-11-15 15:31:48 +0000
commit39b95cb6fb8dd684d130c62ca3277c77a31635b8 (patch)
treef4a4f539cc5e11110f3a281db82788c14a612d6f /kernel/fork.c
parent3792d43a4426ea421020b6bec6c672206cb9b79e (diff)
UPSTREAM: sched/fair: Fix FTQ noise bench regression
A regression of the FTQ noise has been reported by Ying Huang, on the following hardware: 8 threads Intel(R) Core(TM)i7-4770 CPU @ 3.40GHz with 8G memory ... which was caused by this commit: commit 4e5160766fcc ("sched/fair: Propagate asynchrous detach") The only part of the patch that can increase the noise is the update of blocked load of group entity in update_blocked_averages(). We can optimize this call and skip the update of group entity if its load and utilization are already null and there is no pending propagation of load in the task group. This optimization partly restores the noise score. A more agressive optimization has been tried but has shown worse score. Reported-by: ying.huang@linux.intel.com Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> 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: dietmar.eggemann@arm.com Cc: ying.huang@intel.com Fixes: 4e5160766fcc ("sched/fair: Propagate asynchrous detach") Link: http://lkml.kernel.org/r/1489758442-2877-1-git-send-email-vincent.guittot@linaro.org [ Fixed typos, improved layout. ] Signed-off-by: Ingo Molnar <mingo@kernel.org> (cherry picked from commit bc4278987e3874da62edf585fe8b3bdd9b53f638) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8b4018257c9c9f9cc5a0ed701b8e296a45781271 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions