Re: [PATCH 4/6] sched_ext: Reject cid_online/cid_offline on sub-schedulers
From: Tejun Heo
Date: Thu Nov 12 2026 - 12:49:53 EST
Hello, Tao.
On Thu, Nov 12, 2026 at 09:09:32PM +0800, Tao Cui wrote:
> Reject the declaration at load time like the cpu-form sub_attach/
> sub_detach rejection next to it, and note the root-only delivery in the
> ops kerneldoc.
A scheduler can be both root and sub depending on how it's loaded. I don't
think it'd be necessary to require them to use a separate op table depending
on how it's loaded.
Thanks.
--
tejun