[lkml]   [2015]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <> 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

 \ /
  Last update: 2015-05-30 19:01    [W:0.046 / U:2.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site