Messages in this thread | | | Date | Sat, 30 May 2015 12:30:49 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v3 1/4] sched/rt: Check to push the task away after its affinity was changed |
| |
On Sat, 30 May 2015 12:54:23 +0200 Peter Zijlstra <peterz@infradead.org> wrote:
> On Sat, 2015-05-30 at 10:20 +0200, Peter Zijlstra wrote: > > Makes me like the thing even less though.. > > Steven, why do we normally push on schedule()? Would not the natural > location be where we add to pushable_tasks? > > Which would be here in set_cpus_allowed() and wakeups. schedule() seems > like a second best location.
What about when an RT task gets preempted by a higher prio task. We may need to push the preempted one. You can't do that at wakeup.
-- Steve
| |