Re: LatencyTOP infrastructure patch

2008-01-21 Thread Arjan van de Ven
KOSAKI Motohiro wrote: Hi +static void __sched +account_global_scheduler_latency(struct task_struct *tsk, int usecs) +{ + int i; + int firstnonnull = MAXLR + 1; + + if (!tsk->latency_reason.reason) + return; + + /* skip kernel threads for now */ + if

Re: LatencyTOP infrastructure patch

2008-01-21 Thread KOSAKI Motohiro
Hi > +static void __sched > +account_global_scheduler_latency(struct task_struct *tsk, int usecs) > +{ > + int i; > + int firstnonnull = MAXLR + 1; > + > + if (!tsk->latency_reason.reason) > + return; > + > + /* skip kernel threads for now */ > + if (!tsk->mm) > +