Skip to content

Commit c425180

Browse files
Honglei Wanghtejun
authored andcommitted
sched_ext: use correct function name in pick_task_scx() warning message
pick_next_task_scx() was turned into pick_task_scx() since commit 753e283 ("sched_ext: Unify regular and core-sched pick task paths"). Update the outdated message. Signed-off-by: Honglei Wang <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 7941b83 commit c425180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/ext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,8 +2958,8 @@ static struct task_struct *pick_task_scx(struct rq *rq)
29582958

29592959
if (unlikely(!p->scx.slice)) {
29602960
if (!scx_rq_bypassing(rq) && !scx_warned_zero_slice) {
2961-
printk_deferred(KERN_WARNING "sched_ext: %s[%d] has zero slice in pick_next_task_scx()\n",
2962-
p->comm, p->pid);
2961+
printk_deferred(KERN_WARNING "sched_ext: %s[%d] has zero slice in %s()\n",
2962+
p->comm, p->pid, __func__);
29632963
scx_warned_zero_slice = true;
29642964
}
29652965
p->scx.slice = SCX_SLICE_DFL;

0 commit comments

Comments
 (0)