diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-02-10 21:21:11 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-02-10 21:21:11 -0500 |
commit | 94229c78b58d4389bbba129784163e7e9b3c0a80 (patch) | |
tree | 665ef9465aead8c2473a5c9e6ac9659957c82429 | |
parent | 1a5403f7747143e7fc427f0423d79cfa60205c8d (diff) | |
download | rt-patches-94229c78b58d4389bbba129784163e7e9b3c0a80.tar.gz |
rm MIPS-Don-t-trace-irqsoff-for-idle.patch
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | MIPS-Don-t-trace-irqsoff-for-idle.patch | 38 | ||||
-rw-r--r-- | series | 1 |
2 files changed, 0 insertions, 39 deletions
diff --git a/MIPS-Don-t-trace-irqsoff-for-idle.patch b/MIPS-Don-t-trace-irqsoff-for-idle.patch deleted file mode 100644 index daccdf5..0000000 --- a/MIPS-Don-t-trace-irqsoff-for-idle.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 5a0f82bb6118fb1c51e6516ffc3377d7e5e1ef39 Mon Sep 17 00:00:00 2001 -From: Wu Zhangjin <wuzhangjin@gmail.com> -Date: Tue, 9 Mar 2010 17:22:18 +0800 -Subject: [PATCH] MIPS: Don't trace irqsoff for idle - -commit 5a0f82bb6118fb1c51e6516ffc3377d7e5e1ef39 in tip. - -As the X86 platform did in arch/x86/kernel/{process_32.c,process_64.c}, - we 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 for idle, the max duration of irqsoff will be -always as the idle time and eventually make the irqsoff tracer out of -action. - -Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> - -diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c -index f3d73e1..87316fc 100644 ---- a/arch/mips/kernel/process.c -+++ b/arch/mips/kernel/process.c -@@ -64,8 +64,12 @@ void __noreturn cpu_idle(void) - - smtc_idle_loop_hook(); - #endif -- if (cpu_wait) -+ if (cpu_wait) { -+ /* Don't trace irqs off for idle */ -+ stop_critical_timings(); - (*cpu_wait)(); -+ start_critical_timings(); -+ } - } - #ifdef CONFIG_HOTPLUG_CPU - if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map) && --- -1.7.1.1 - @@ -361,7 +361,6 @@ mmc-omap_hsmmc-Fix-the-locking-mess.patch rt-trivial-fix-to-REMINDER-block-in-init-main.c.patch # v2.6.33-rt4.patch mm-highmem-Fix-stale-BUG_ON-condition.patch -MIPS-Don-t-trace-irqsoff-for-idle.patch MIPS-add-a-common-mips_sched_clock.patch MIPS-cavium-octeon-rewrite-the-sched_clock-based-on-.patch MIPS-r4k-Add-a-high-resolution-sched_clock.patch |