* [PATCH RT] Use raw spinlocks in NMI print sequencing.
@ 2007-06-19 20:11 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2007-06-19 20:11 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Thomas Gleixner, LKML, RT
Currently NMI uses spinlocks to serialize the prints. We need these to
be raw spinlocks for PREEMPT_RT
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.21-rt9/arch/x86_64/kernel/nmi.c
===================================================================
--- linux-2.6.21-rt9.orig/arch/x86_64/kernel/nmi.c
+++ linux-2.6.21-rt9/arch/x86_64/kernel/nmi.c
@@ -949,7 +949,7 @@ int __kprobes nmi_watchdog_tick(struct p
}
if (cpu_isset(cpu, backtrace_mask)) {
- static DEFINE_SPINLOCK(lock); /* Serialise the printks */
+ static DEFINE_RAW_SPINLOCK(lock); /* Serialise the printks */
spin_lock(&lock);
printk("NMI backtrace for cpu %d\n", cpu);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-19 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-19 20:11 [PATCH RT] Use raw spinlocks in NMI print sequencing 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).