sched/rt: Update comment in pick_next_task_rt()
authorMuchun Song <[email protected]>
Sat, 27 Oct 2018 03:05:17 +0000 (11:05 +0800)
committerIngo Molnar <[email protected]>
Mon, 29 Oct 2018 06:18:04 +0000 (07:18 +0100)
commita68d75081aeccfb169575bea6f452a5a12b9f49b
treeb1054c693325757253afb45ea7792516cb73ef4e
parentb59dfdaef173677b0b7e10f375226c0a1114fd20
sched/rt: Update comment in pick_next_task_rt()

Commit:

  f4ebcbc0d7e0 ("sched/rt: Substract number of tasks of throttled queues from rq->nr_running")

added a new rt_rq->rt_queued field, which is used to indicate the status of
rq->rt enqueue or dequeue. So, the ->rt_nr_running check was removed and we
now check ->rt_queued instead.

Fix the comment in pick_next_task_rt() as well, which was still referencing
the old logic.

Signed-off-by: Muchun Song <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/rt.c