Re: [PATCH] sched_ext: Fix several comment issues
From: Zhan Xusheng
Date: Thu Aug 27 2026 - 05:57:09 EST
From: Zhan Xusheng <zhanxusheng@xxxxxxxxxx>
Grepping the tree for the old spellings turns up exactly the lines you
touch and nothing else, and the new names hold up against what the
comments around them claim: __setscheduler_class() does return a
sched_class (kernel/sched/core.c:7608), task_should_scx() is reached from
it at 7617 and from the sched_fork() path at 4862, and the @running
callback documented at internal.h:439 is the one set_next_task_scx()
triggers.
Reviewed-by: Zhan Xusheng <zhanxusheng@xxxxxxxxxx>
One thing for the changelog rather than the diff: it lists three renames
while the patch fixes four sites, because __setschduler_prio and
__setscheduler_prio are two spellings of the same stale name.
Thanks,
Zhan Xusheng