Re: [PATCH 1/2] sched: push rt tasks only if newly activated tasks have been added

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Adamushko
Date: Wednesday, April 23, 2008 - 3:23 am

2008/4/23 Gregory Haskins <ghaskins@novell.com>:


It's somewhat suboptimal as it doesn't guarantee that 'p' gets control next.

e.g. 2 tasks (T0 and T1) have been woken up before an actual
re-schedule takes place. Even if T1 is of lower prio than T0,
task_wake_up_rt() will see the NEED_RESCHED flag and bail out while it
would make sense at this moment to push T1 off this cpu.


p.s. hope you are better today. get well! :-)


-- 
Best regards,
Dmitry Adamushko
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] sched: refreshes, Gregory Haskins, (Mon Apr 21, 11:10 am)
Re: [PATCH 0/2] sched: refreshes, Ingo Molnar, (Mon Apr 21, 12:33 pm)
Re: [PATCH 1/2] sched: push rt tasks only if newly activat ..., Dmitry Adamushko, (Wed Apr 23, 3:23 am)
[RFC PATCH 0/2] sched fixes for suboptimal balancing, Gregory Haskins, (Wed Apr 23, 4:13 am)
[PATCH 1/2] sched: fix RT task-wakeup logic, Gregory Haskins, (Wed Apr 23, 4:13 am)
Re: [PATCH 1/2] sched: fix RT task-wakeup logic, Steven Rostedt, (Wed Apr 23, 5:54 am)
Re: [PATCH 1/2] sched: fix RT task-wakeup logic, Dmitry Adamushko, (Wed Apr 23, 7:29 am)
Re: [PATCH 1/2] sched: fix RT task-wakeup logic, Gregory Haskins, (Thu Apr 24, 4:56 am)
[(RESEND) PATCH] sched: fix RT task-wakeup logic, Gregory Haskins, (Mon Apr 28, 9:30 am)
Re: [(RESEND) PATCH] sched: fix RT task-wakeup logic, Ingo Molnar, (Tue Apr 29, 7:35 am)