* [PATCH RT] add set_curr_timer to high_res run_queue
@ 2006-01-24 14:05 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2006-01-24 14:05 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Thomas Gleixner, LKML
Ingo,
Here's the cause of my crash.
-- Steve
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.15-rt12/kernel/hrtimer.c
===================================================================
--- linux-2.6.15-rt12.orig/kernel/hrtimer.c 2006-01-23 14:00:27.000000000 -0500
+++ linux-2.6.15-rt12/kernel/hrtimer.c 2006-01-24 08:53:44.000000000 -0500
@@ -877,6 +877,7 @@
timer = list_entry(base->expired.next, struct hrtimer, list);
fn = timer->function;
data = timer->data;
+ set_curr_timer(base, timer);
timer->state = HRTIMER_RUNNING;
list_del(&timer->list);
spin_unlock_irq(&base->lock);
@@ -902,6 +903,7 @@
else
timer->state = HRTIMER_EXPIRED;
}
+ set_curr_timer(base, NULL);
spin_unlock_irq(&base->lock);
wake_up_timer_waiters(base);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-24 14:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24 14:05 [PATCH RT] add set_curr_timer to high_res run_queue Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).