Re: [PATCH v2 2/2] sched_ext: Print sub-scheduler disabled log and reason
From: Cheng-Yang Chou
Date: Thu Apr 16 2026 - 12:19:28 EST
Hi Zhao,
On Thu, Apr 16, 2026 at 09:26:29AM +0800, Zhao Mengmeng wrote:
> From: Zhao Mengmeng <zhaomengmeng@xxxxxxxxxx>
>
> Take scx_qmap for example, when sub scheduler is attached, there is
> 'BPF sub-scheduler "qmap" enabled' message, but when dettached, the log
Nit: s/dettached/detached.
Overall, looks good!
Reviewed-by: Cheng-Yang Chou <yphbchou0911@xxxxxxxxx>
> is missing. Add a new function to do the log thing, it can be used by
> both root scheduler and sub scheduler.
>
> Signed-off-by: Zhao Mengmeng <zhaomengmeng@xxxxxxxxxx>
--
Thanks,
Cheng-Yang