Re: [PATCH 0/5] RT: scheduler fixes and rt_overload enhancements

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

On Tue, 2007-10-09 at 10:25 -0400, Gregory Haskins wrote:

Ok, I'm not liking these.

I really hate setting TIF_NEED_RESCHED from the IPI handler. Also, I
don't see how doing a resched pulls tasks to begin with.

How about keeping a per rq variable that indicates the highest priority
of runnable tasks. And on forced preemption look for a target rq to send
your last highest task to.

There is no need to broadcast rebalance, that will only serialise on the
local rq lock again. So pick a target rq, and stick with that.

Also, I think you meant to use cpus_and() with the rto and allowed
masks.

-
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)
Re: [PATCH 0/5] RT: scheduler fixes and rt_overload enhancem..., Peter Zijlstra, (Tue Oct 9, 11:00 am)
[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)