login
Header Space

 
 

Re: Horrendous Audio Stutter - current git

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Frans Pop <elendil@...>
Cc: Parag Warudkar <parag.warudkar@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>
Date: Friday, May 2, 2008 - 7:08 am

On Fri, 2008-05-02 at 12:35 +0200, Peter Zijlstra wrote:

In fact, that is exactly 1024 time too large.

How does this work for you:

Index: linux-2.6-2/kernel/sched_fair.c
===================================================================
--- linux-2.6-2.orig/kernel/sched_fair.c
+++ linux-2.6-2/kernel/sched_fair.c
@@ -685,6 +685,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, st
 	 * Update run-time statistics of the 'current'.
 	 */
 	update_curr(cfs_rq);
+	account_entity_enqueue(cfs_rq, se);
 
 	if (wakeup) {
 		place_entity(cfs_rq, se, 0);
@@ -695,7 +696,6 @@ enqueue_entity(struct cfs_rq *cfs_rq, st
 	check_spread(cfs_rq, se);
 	if (se != cfs_rq->curr)
 		__enqueue_entity(cfs_rq, se);
-	account_entity_enqueue(cfs_rq, se);
 }
 
 static void update_avg(u64 *avg, u64 sample)


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Horrendous Audio Stutter - current git, Parag Warudkar, (Thu May 1, 8:14 pm)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 4:34 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Wed May 7, 4:26 am)
Re: Horrendous Audio Stutter - current git, Ingo Molnar, (Wed May 7, 4:32 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 7:10 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 8:09 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 8:21 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 8:37 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Sat May 3, 3:13 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Sat May 3, 3:39 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 11:02 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 11:49 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 3:38 pm)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 2:53 pm)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 3:27 pm)
Re: 'global' rq-&gt;clock, David Miller, (Fri May 2, 5:48 pm)
Re: 'global' rq-&gt;clock, Arjan van de Ven, (Fri May 2, 6:09 am)
Re: 'global' rq-&gt;clock, Peter Zijlstra, (Sun May 4, 8:12 am)
Re: 'global' rq-&gt;clock, Peter Zijlstra, (Fri May 2, 6:07 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 4:28 am)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 5:05 am)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 6:10 am)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 3:28 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 3:39 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 3:27 pm)
Re: 'global' rq-&gt;clock, Benjamin Herrenschmidt, (Sat May 3, 6:30 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 6:38 pm)
Re: 'global' rq-&gt;clock, Benjamin Herrenschmidt, (Sat May 3, 10:22 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 7:04 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 7:36 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 7:38 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 7:40 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 7:47 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 3:37 pm)
Re: 'global' rq-&gt;clock (was Re: Horrendous Audio Stutter ..., Guillaume Chazarain, (Fri May 2, 4:38 pm)
Re: 'global' rq-&gt;clock, David Miller, (Fri May 2, 6:00 pm)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 6:32 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 6:35 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 7:08 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 7:37 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 7:39 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 8:06 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 8:22 am)
Re: Horrendous Audio Stutter - current git, Dhaval Giani, (Fri May 2, 9:21 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 7:45 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 7:51 am)
speck-geostationary