Re: [patch] Real-Time Preemption, -RT-2.6.11-rc2-V0.7.37-02

From: Eugeny S. Mints
Date: Thu Feb 03 2005 - 15:49:19 EST


Ingo Molnar wrote:
i have released the -V0.7.37-02 Real-Time Preemption patch, which can be
downloaded from the usual place:

http://redhat.com/~mingo/realtime-preempt/
Minor fix for deadlock tracer: "...acquired at XXX" may print caller's of an up() eip instead of eip of caller of a down() in case a lock was initally contended before deadlock is detected.

Seems actual for 37-03 as well. pathc is attached.

Eugeny

--- rt.c.orig 2005-02-03 23:35:42.000000000 +0300
+++ rt.c 2005-02-03 23:35:58.000000000 +0300
@@ -734,7 +734,7 @@

list_del_init(&waiter->pi_list);

- set_new_owner(lock, old_owner, new_owner, eip);
+ set_new_owner(lock, old_owner, new_owner, waiter->eip);
/* Don't touch waiter after ->task has been NULLed */
mb();
waiter->task = NULL;