lkml.org 
[lkml]   [2017]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched/deadline: Remove unnecessary condition in push_dl_task()
On Wed, 15 Feb 2017 14:45:03 +0000
Juri Lelli <juri.lelli@arm.com> wrote:

> >
> > task = pick_next_pushable_dl_task(rq);
> >
> > Which has:
> >
> > BUG_ON(rq->cpu != task_cpu(task))
> >
> > when it returns a task other than NULL. Which means that task_cpu(task)
> > must be rq->cpu. Then if task == next_task, then task_cpu(next_task)
> > must be rq->cpu as well.
>
> Right.

Perhaps my comment should also be added in the change log.

-- Steve

\
 
 \ /
  Last update: 2017-02-15 15:56    [W:0.060 / U:1.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site