* [PATCH -rt] spin_lock in check_monotonic_clock must be raw
@ 2006-03-30 14:28 Steven Rostedt
2006-03-31 10:31 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2006-03-30 14:28 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Thomas Gleixner, LKML
Hi Ingo,
The lock in check_monotonic_clock must be a raw spinlock since it is
called from the hrtimer_interrupt.
-- Steve
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.16-rt11/kernel/time/timeofday.c
===================================================================
--- linux-2.6.16-rt11.orig/kernel/time/timeofday.c 2006-03-30 07:10:16.000000000 -0500
+++ linux-2.6.16-rt11/kernel/time/timeofday.c 2006-03-30 09:23:07.000000000 -0500
@@ -125,7 +125,7 @@
#ifdef CONFIG_PARANOID_GENERIC_TIME
/* This will hurt performance! */
-static DEFINE_SPINLOCK(check_monotonic_lock);
+static DEFINE_RAW_SPINLOCK(check_monotonic_lock);
static ktime_t last_monotonic_ktime;
static ktime_t get_check_value(void)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -rt] spin_lock in check_monotonic_clock must be raw
2006-03-30 14:28 [PATCH -rt] spin_lock in check_monotonic_clock must be raw Steven Rostedt
@ 2006-03-31 10:31 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-03-31 10:31 UTC (permalink / raw)
To: Steven Rostedt; +Cc: Thomas Gleixner, LKML
* Steven Rostedt <rostedt@goodmis.org> wrote:
> Hi Ingo,
>
> The lock in check_monotonic_clock must be a raw spinlock since it is
> called from the hrtimer_interrupt.
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-31 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30 14:28 [PATCH -rt] spin_lock in check_monotonic_clock must be raw Steven Rostedt
2006-03-31 10:31 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®