[patch 19/21] dynticks: i386 arch code
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Sun, 01 Oct 2006 23:01:06 -0000
From: Ingo Molnar <mingo@xxxxxxx>
Prepare i386 for dyntick: idle handler callbacks.
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
----
arch/i386/kernel/process.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6.18-mm2/arch/i386/kernel/process.c
===================================================================
--- linux-2.6.18-mm2.orig/arch/i386/kernel/process.c 2006-10-02 00:55:45.000000000 +0200
+++ linux-2.6.18-mm2/arch/i386/kernel/process.c 2006-10-02 00:55:55.000000000 +0200
@@ -178,6 +178,7 @@ void cpu_idle(void)
/* endless idle loop with no priority at all */
while (1) {
+ hrtimer_stop_sched_tick();
while (!need_resched()) {
void (*idle)(void);
@@ -196,6 +197,7 @@ void cpu_idle(void)
__get_cpu_var(irq_stat).idle_timestamp = jiffies;
idle();
}
+ hrtimer_restart_sched_tick();
preempt_enable_no_resched();
schedule();
preempt_disable();
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 00/21] high resolution timers / dynamic ticks - V2
- From: Thomas Gleixner
- [patch 00/21] high resolution timers / dynamic ticks - V2
- Prev by Date: [patch 05/21] time: fix msecs_to_jiffies() bug
- Next by Date: [patch 15/21] clockevents: drivers for i386
- Previous by thread: [patch 05/21] time: fix msecs_to_jiffies() bug
- Next by thread: [patch 15/21] clockevents: drivers for i386
- Index(es):
Relevant Pages
|
|