lkml.org 
[lkml]   [2008]   [Jan]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 21 Jan 2008 17:06:53 +0900
FromKOSAKI Motohiro <>
SubjectRe: LatencyTOP infrastructure patch
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)
> +		return;

Why do you ignore kernel thread?

may be, some network filesystem use kernel thread for local I/O.
What do you think it?


- kosaki



\
 
 \ /
  Last update: 2008-01-21 09:09    [from the cache]
©2003-2008