Re: [PATCH 5/7] RT: Add support for low-priority wake-up to push_rt feature

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

On Mon, 2007-10-15 at 14:05 -0400, Steven Rostedt wrote:

I'm not sure I really get what the difference is, but I don't feel
strongly one way or the other.  I can make that change.



If you have an update, send it along and I will rebase.



That was a leftover from before we had the double_lock inside the search
function.  I will clean this up.


Well, only that it has a few efficiency related advantages (1) to doing
this check before the activate() call.  You are correct that either
place would yield correct behavior.

(1) -> We can save the overhead of an unnecessary activate/deactivate
cycle, and avoid placing the system (even if only briefly) into overload
which will potentially affect other CPUs if they happen to call
_schedule() during the window.



-
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)
Re: [PATCH 5/7] RT: Add support for low-priority wake-up to ..., Gregory Haskins, (Mon Oct 15, 3:54 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)