Commit c425180d authored by Honglei Wang's avatar Honglei Wang Committed by Tejun Heo
Browse files

sched_ext: use correct function name in pick_task_scx() warning message



pick_next_task_scx() was turned into pick_task_scx() since
commit 753e2836 ("sched_ext: Unify regular and core-sched pick
task paths"). Update the outdated message.

Signed-off-by: default avatarHonglei Wang <jameshongleiwang@126.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7941b83b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2958,8 +2958,8 @@ static struct task_struct *pick_task_scx(struct rq *rq)

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