sched: Fix a stale comment in pick_next_task()
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 19 May 2021 06:37:09 +0000 (15:37 +0900)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 May 2021 11:03:21 +0000 (13:03 +0200)
commit1699949d3314e5d1956fb082e4cd4798bf6149fc
tree0a3be60fa81a914276d121cbb11733a6f8b736fb
parent93b73858701fd01de26a4a874eb95f9b7156fd4b
sched: Fix a stale comment in pick_next_task()

fair_sched_class->next no longer exists since commit:

  a87e749e8fa1 ("sched: Remove struct sched_class::next field").

Now the sched_class order is specified by the linker script.

Rewrite the comment in a more generic way.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210519063709.323162-1-masahiroy@kernel.org
kernel/sched/core.c