Re: -rt more realtime scheduling issues

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, October 8, 2007 - 2:45 pm

On Fri, Oct 05, 2007 at 07:15:48PM -0700, Mike Kravetz wrote:

I've been looking for places in the code where reschedule IPIs should
be sent in the case of 'overload' to redistribute RealTime tasks based
on priority.  However, an even more basic question to ask might be:  Are
the use of reschedule IPIs reliable enough for this purpose.  In the
code, there is the following comment:

/*
 * this function sends a 'reschedule' IPI to another CPU.
 * it goes straight through and wastes no time serializing
 * anything. Worst case is that we lose a reschedule ...
 */

After a quick read of the code, it does appear that reschedule's can
be lost if the the IPI is sent at just the right time in schedule
processing.  Can someone confirm this is actually the case?

The issue I see is that the 'rt_overload' mechanism depends on reschedule
IPIs for RealTime scheduling semantics.  If this is not a reliable
mechanism then this can lead to breakdowns in RealTime scheduling semantics.

Are these accurate statements?  I'll start working on a reliable delivery
mechanism for RealTime scheduling.  But, I just want to make sure that
is really necessary.

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

Messages in current thread:
-rt more realtime scheduling issues, Mike Kravetz, (Fri Oct 5, 10:15 pm)
[PATCH RT] fix rt-task scheduling issue, Steven Rostedt, (Mon Oct 8, 10:46 pm)
Re: [PATCH RT] fix rt-task scheduling issue, Mike Kravetz, (Tue Oct 9, 2:51 pm)
Re: [PATCH RT] fix rt-task scheduling issue, Gregory Haskins, (Tue Oct 9, 12:18 am)
Re: -rt more realtime scheduling issues, Mike Kravetz, (Mon Oct 8, 2:45 pm)
Re: -rt more realtime scheduling issues, Steven Rostedt, (Mon Oct 8, 11:04 pm)
Re: -rt more realtime scheduling issues, Mike Kravetz, (Tue Oct 9, 2:49 pm)
Re: -rt more realtime scheduling issues, Steven Rostedt, (Wed Oct 10, 7:50 am)
Re: -rt more realtime scheduling issues, Mike Kravetz, (Wed Oct 10, 10:37 pm)
Re: -rt more realtime scheduling issues, Peter Zijlstra, (Tue Oct 9, 4:16 am)