Re: [PATCH] tools/sched_ext: Add SCX_OPS_OPEN_OPTS for schedulers using open opts
From: Fuyu Zhao
Date: Tue Sep 22 2026 - 23:39:35 EST
On 9/22/2026 11:56 PM, Tejun Heo wrote:
> Hello,
>
> On Tue, Sep 22, 2026 at 11:16:18AM +0800, Fuyu Zhao wrote:
>> +#define SCX_OPS_OPEN_OPTS(__ops_name, __scx_name, __opts) \
>> + __SCX_OPS_OPEN(__ops_name, __scx_name, \
>> + __scx_name##__open_opts(__opts))
>
> Can SCX_OPS_OPEN() just call SCX_OPS_OPEN_OPTS() with 0 as opts?
>
> Thanks.
>
Yes, that makes sense. I'll update the patch accordingly.
Thanks,
Fuyu