[PATCH 3/5] RT - fix mistargeted RESCHED_IPI

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <mingo@...>, <linux-rt-users@...>, <rostedt@...>
Cc: <kravetz@...>, <linux-kernel@...>, <ghaskins@...>, <pmorreale@...>, <sdietrich@...>
Date: Tuesday, October 9, 2007 - 10:25 am

Any number of tasks could be queued behind the current task, so direct the
balance IPI at all CPUs (other than current)

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
CC: Steven Rostedt <rostedt@goodmis.org>
CC: Mike Kravetz <kravetz@us.ibm.com>
CC: Peter W. Morreale <pmorreale@novell.com>
---

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

diff --git a/kernel/sched.c b/kernel/sched.c
index 3e75c62..551629b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2209,7 +2209,7 @@ static inline void finish_task_switch(struct rq *rq, struct task_struct *prev)
 	 */
 	if (unlikely(rt_task(current) && rq->rt_nr_running > 1)) {
 		schedstat_inc(rq, rto_schedule);
-		smp_send_reschedule_allbutself_cpumask(current->cpus_allowed);
+		smp_send_reschedule_allbutself();
 	}
 #endif
 	prev_state = prev->state;

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

Messages in current thread:
[PATCH 0/5] RT: scheduler fixes and rt_overload enhancements, Gregory Haskins, (Tue Oct 9, 10:25 am)
Re: [RFC PATCH RT] push waiting rt tasks to cpus with lower ..., Girish kathalagiri, (Tue Oct 9, 10:12 pm)
[PATCH 4/5] RT: Add a per-cpu rt_overload indication, Gregory Haskins, (Tue Oct 9, 10:26 am)
[PATCH 3/5] RT - fix mistargeted RESCHED_IPI, Gregory Haskins, (Tue Oct 9, 10:25 am)
[PATCH 2/5] RT - fix reschedule IPI, Gregory Haskins, (Tue Oct 9, 10:25 am)
[PATCH 1/5] RT - fix for scheduling issue, Gregory Haskins, (Tue Oct 9, 10:25 am)