]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Trace: Don't trace irqsoff for the idle process
authorWu Zhangjin <wuzhangjin@gmail.com>
Tue, 9 Mar 2010 16:27:28 +0000 (00:27 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 Apr 2010 16:26:10 +0000 (17:26 +0100)
commitdd60e12d7f0d9d130eccbd208573edf1ef20bacc
treefc7313875b4d5e8e833da49b35d8b0ea2959d508
parentcaafcf00cad81ca1812d11c5eb117f5e9df9d5c1
MIPS: Trace: Don't trace irqsoff for the idle process

Like x86 did in arch/x86/kernel/{process_32.c,process_64.c}, also don't
trace irqsoff for idle.

If there's no useful work to be done, we don't care about the irqsoff
duration. If we trace the idle process, the max duration of irqsoff will
be the idle time and make the irqsoff tracer useless.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Patchwork: http://patchwork.linux-mips.org/patch/1044/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c