[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080121170415.125B.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Date: Mon, 21 Jan 2008 17:06:53 +0900
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Arjan van de Ven <arjan@...ux.intel.com>
Cc: kosaki.motohiro@...fujitsu.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists