Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-07

From: Steven Rostedt
Date: Thu Mar 31 2005 - 12:43:20 EST


On Thu, 2005-03-31 at 16:10 +0200, Ingo Molnar wrote:
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > One more thing. Was this on SMP or UP. I haven't tested this on SMP
> > yet. When my laptop (HT) gets done with its work, I'll give it a try
> > there. Of course I need to disable NVidia on it first.
>
> i've booted the latest tree on a 4-way testbox and everything seems ok.

Thanks Ingo.

Oh, and did your really want to assign debug = .1?

-- Steve

Here you go:


--- ./include/linux/rt_lock.h.orig 2005-03-31 12:38:31.583913080 -0500
+++ ./include/linux/rt_lock.h 2005-03-31 12:38:35.499061576 -0500
@@ -125,7 +125,7 @@
# ifdef CONFIG_RT_DEADLOCK_DETECT
# define __RW_LOCK_UNLOCKED \
.wait_lock = __RAW_SPIN_LOCK_UNLOCKED, .save_state = 1, \
- .debug = .1, .file = __FILE__, .line = __LINE__
+ .debug = 1, .file = __FILE__, .line = __LINE__
# define _RW_LOCK_UNLOCKED(lock) \
(rwlock_t) { { { __RW_LOCK_UNLOCKED, .name = #lock } } }
# define RW_LOCK_UNLOCKED \


-
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/