Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on startup and is unkillable [still broken in 2.6.25-rc1]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

* Ingo Molnar <mingo@elte.hu> wrote:


ok, we just found the reason for the 8-way crash, the delta fix from 
Peter is below if any of you have tried the previous combo patch. 
Updated sched.git as well, new HEAD is 
fec13e45305d69fd0bd23b30bd05a0a42cf341f8.

	Ingo

Index: linux-2.6/kernel/sched.c
===================================================================
--- linux-2.6.orig/kernel/sched.c
+++ linux-2.6/kernel/sched.c
@@ -219,6 +219,10 @@ static void start_rt_bandwidth(struct rt
 	if (rt_b->rt_runtime == RUNTIME_INF)
 		return;
 
+	if (hrtimer_active(&rt_b->rt_period_timer))
+		return;
+
+	spin_lock(&rt_b->rt_runtime_lock);
 	for (;;) {
 		if (hrtimer_active(&rt_b->rt_period_timer))
 			break;
@@ -229,6 +233,7 @@ static void start_rt_bandwidth(struct rt
 			      rt_b->rt_period_timer.expires,
 			      HRTIMER_MODE_ABS);
 	}
+	spin_unlock(&rt_b->rt_runtime_lock);
 }
 
 #ifdef CONFIG_RT_GROUP_SCHED
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Alessandro Suardi, (Mon Feb 11, 9:20 am)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Rafael J. Wysocki, (Mon Feb 11, 12:09 pm)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Rafael J. Wysocki, (Mon Feb 11, 12:56 pm)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Ingo Molnar, (Mon Feb 11, 3:10 pm)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Rafael J. Wysocki, (Mon Feb 11, 4:12 pm)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Alessandro Suardi, (Mon Feb 11, 4:31 pm)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Alessandro Suardi, (Tue Feb 12, 7:35 am)
Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on ..., Rafael J. Wysocki, (Tue Feb 12, 12:28 pm)