1
0
Files
linux/kernel
Srivatsa Vaddagiri 296825cbe1 sched: fix high wake up latencies with FAIR_USER_SCHED
The reason why we are getting better wakeup latencies for
!FAIR_USER_SCHED is because of this snippet of code in place_entity():

	if (!initial) {
		/* sleeps upto a single latency don't count. */
		if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se))
						     ^^^^^^^^^^^^^^^^^^
			vruntime -= sysctl_sched_latency;

		/* ensure we never gain time by being placed backwards. */
		vruntime = max_vruntime(se->vruntime, vruntime);
	}

NEW_FAIR_SLEEPERS feature gives credit for sleeping only to tasks and
not group-level entities. With the patch attached, I could see that
wakeup latencies with FAIR_USER_SCHED are restored to the same level as
!FAIR_USER_SCHED.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-31 22:45:22 +01:00
..
2008-01-07 14:55:37 -08:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2008-01-25 21:08:32 +01:00
2007-10-18 14:37:26 -07:00
2008-01-25 21:08:29 +01:00
2008-01-25 21:08:34 +01:00
2007-10-19 11:53:34 -07:00
2007-11-14 18:45:43 -08:00
2008-01-25 21:08:33 +01:00
2008-01-30 13:31:48 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:25 +01:00
2007-10-18 14:37:24 -07:00
2008-01-30 13:31:20 +01:00
2008-01-25 21:08:34 +01:00
2008-01-30 13:31:20 +01:00
2007-10-18 14:37:24 -07:00
2008-01-30 13:30:00 +01:00