Re: [PATCH v3 1/2] sched/deadline: Remove unnecessary condition in push_dl_task()

2017-05-02 Thread Byungchul Park
On Thu, Feb 16, 2017 at 11:34:16AM +0900, Byungchul Park wrote: > pick_next_pushable_dl_task(rq) 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. So if task == next_task, then task_cpu(next_task) must > be rq->cpu as

Re: [PATCH v3 1/2] sched/deadline: Remove unnecessary condition in push_dl_task()

2017-03-20 Thread Byungchul Park
On Thu, Feb 16, 2017 at 06:35:54PM +0100, Daniel Bristot de Oliveira wrote: > On 02/16/2017 03:34 AM, Byungchul Park wrote: > > pick_next_pushable_dl_task(rq) 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. So if

Re: [PATCH v3 1/2] sched/deadline: Remove unnecessary condition in push_dl_task()

2017-02-21 Thread Byungchul Park
On Thu, Feb 16, 2017 at 11:34:16AM +0900, Byungchul Park wrote: > pick_next_pushable_dl_task(rq) 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. So if task == next_task, then task_cpu(next_task) must > be rq->cpu as

Re: [PATCH v3 1/2] sched/deadline: Remove unnecessary condition in push_dl_task()

2017-02-16 Thread Daniel Bristot de Oliveira
On 02/16/2017 03:34 AM, Byungchul Park wrote: > pick_next_pushable_dl_task(rq) 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. So if task == next_task, then task_cpu(next_task) must > be rq->cpu as well. Remove the r