On Thu, 16 Feb 2017 11:05:54 +0900
Byungchul Park wrote:
> Once pick_next_pushable_task(rq) returns a task, it guarantees that
> the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
> task == next_task. Remove the redundant condition and make code
On Thu, 16 Feb 2017 11:05:54 +0900
Byungchul Park wrote:
> Once pick_next_pushable_task(rq) returns a task, it guarantees that
> the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
> task == next_task. Remove the redundant condition and make code simpler.
>
>
Once pick_next_pushable_task(rq) returns a task, it guarantees that
the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
task == next_task. Remove the redundant condition and make code simpler.
pick_next_pushable_task(rq) has BUG_ON(rq_cpu != task_cpu(task)) when
it returns a
Once pick_next_pushable_task(rq) returns a task, it guarantees that
the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
task == next_task. Remove the redundant condition and make code simpler.
pick_next_pushable_task(rq) has BUG_ON(rq_cpu != task_cpu(task)) when
it returns a
4 matches
Mail list logo