Re: [ANNOUNCE] sched: schedtop utility

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, June 19, 2008 - 3:27 am

On Thu, 2008-06-05 at 10:50 +0530, Ankita Garg wrote:


OK, so task delay delay accounting is broken because it doesn't take
migration into account.

What you've done is make it symmetric wrt enqueue, and account it like

  cpu0      cpu1

enqueue
 <wait-d1>
dequeue
            enqueue
             <wait-d2>
            run

Where you add both d1 and d2 to the run_delay,.. right?

This seems like a good fix, however it looks like the patch will break
compilation in !CONFIG_SCHEDSTATS && !CONFIG_TASK_DELAY_ACCT, of it
failing to provide a stub for sched_info_dequeue() in that case.



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

Messages in current thread:
[ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Thu May 22, 7:06 am)
Re: [ANNOUNCE] sched: schedtop utility, Steven Rostedt, (Thu May 22, 7:33 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Mon Jun 2, 5:48 am)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Mon Jun 2, 6:07 am)
Re: [ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Mon Jun 2, 6:20 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Wed Jun 4, 10:20 pm)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Thu Jun 19, 3:27 am)
Re: [ANNOUNCE] sched: schedtop utility, Ankita Garg, (Tue Jul 1, 2:00 am)
Re: [ANNOUNCE] sched: schedtop utility, Ingo Molnar, (Thu Jul 3, 1:34 am)
Re: [ANNOUNCE] sched: schedtop utility, Peter Zijlstra, (Thu Jul 3, 1:56 pm)
Re: [ANNOUNCE] sched: schedtop utility, Gregory Haskins, (Tue Oct 21, 9:29 am)