Re: [PATCH 02/16] sched_ext: Move scx_exit(), scx_error() and friends to ext_internal.h

From: Cheng-Yang Chou

Date: Tue Apr 21 2026 - 09:37:02 EST


Hi Tejun,

On Mon, Apr 20, 2026 at 09:19:31PM -1000, Tejun Heo wrote:
> Things shared across multiple .c files belong in a header. scx_exit() /
> scx_error() (and their scx_vexit() / scx_verror() siblings) are already
> called from ext_idle.c and the upcoming ext_cid.c, and it was only
> build_policy.c's textual inclusion of ext.c that made the references
> resolve. Move the whole family to ext_internal.h.
>
> Pure visibility change.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Reviewed-by: Cheng-Yang Chou <yphbchou0911@xxxxxxxxx>

--
Cheers,
Cheng-Yang