[PATCH 3/7] RT: Initialize the priority value

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven Rostedt <rostedt@...>, Peter Zijlstra <a.p.zijlstra@...>
Cc: RT <linux-rt-users@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Gregory Haskins <ghaskins@...>
Date: Friday, October 12, 2007 - 8:15 pm

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---

 kernel/sched.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index c9afc8a..50c88e8 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7395,6 +7395,8 @@ void __init sched_init(void)
 		highest_cpu = i;
 		/* delimiter for bitsearch: */
 		__set_bit(MAX_RT_PRIO, array->bitmap);
+
+		set_rq_prio(rq, MAX_PRIO);
 	}
 
 	set_load_weight(&init_task);

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

Messages in current thread:
[PATCH 0/7] RT: RT-Overload/Sched enhancements (v2), Gregory Haskins, (Fri Oct 12, 8:15 pm)
[PATCH 6/7] RT: Select tasks based on relative affinity, Gregory Haskins, (Fri Oct 12, 8:16 pm)
Re: [PATCH 6/7] RT: Select tasks based on relative affinity, Gregory Haskins, (Mon Oct 15, 4:08 pm)
[PATCH 3/7] RT: Initialize the priority value, Gregory Haskins, (Fri Oct 12, 8:15 pm)
Re: [PATCH 3/7] RT: Initialize the priority value, Steven Rostedt, (Mon Oct 15, 1:46 pm)
[PATCH 1/7] RT: Add a per-cpu rt_overload indication, Gregory Haskins, (Fri Oct 12, 8:15 pm)
Re: [PATCH 1/7] RT: Add a per-cpu rt_overload indication, Steven Rostedt, (Mon Oct 15, 1:42 pm)