Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5482cfa authored by Alex Shi's avatar Alex Shi Committed by Ingo Molnar
Browse files

sched: Fix volanomark performance regression



Commit fab47622 triggers excessive idle balancing, causing a ~30% loss in
volanomark throughput. Remove idle balancing throttle reset.

Originally-by: default avatarAlex Shi <alex.shi@intel.com>
Signed-off-by: default avatarMike Galbraith <efault@gmx.de>
Acked-by: default avatarNikhil Rao <ncrao@google.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1289928732.5169.211.camel@maggy.simson.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 55f6561c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1758,10 +1758,6 @@ static void pull_task(struct rq *src_rq, struct task_struct *p,
	set_task_cpu(p, this_cpu);
	activate_task(this_rq, p, 0);
	check_preempt_curr(this_rq, p, 0);

	/* re-arm NEWIDLE balancing when moving tasks */
	src_rq->avg_idle = this_rq->avg_idle = 2*sysctl_sched_migration_cost;
	this_rq->idle_stamp = 0;
}

/*