Re: [PATCHSET sched_ext/for-7.1] sched_ext: Add verifier-time kfunc context filter

From: Cheng-Yang Chou

Date: Sat Apr 11 2026 - 11:10:30 EST


Hi Tejun,

On Fri, Apr 10, 2026 at 09:41:49PM -1000, Tejun Heo wrote:
> Hello,
>
> On Sat, Apr 11, 2026 at 02:17:37PM +0800, Cheng-Yang Chou wrote:
> > Regarding selftests: do we need to add any for this series?
> > It was brought up during the review of Juntong's v3 patch,
> > but I haven't seen any further responses regarding this on my v4 patchset.
>
> It would be nice to have a test covering all combinations of allow/deny
> matrix and that's how I tested but I'm not sure there currently is a good
> way to include such tests in the current testing framework.
>

Covering all combinations would add quite a few BPF files (7 contexts *
5 kfunc groups = 35 cells, each deny case needing its own program)

Given that all demo and out-of-tree schedulers are working fine with the
new filter, I'd lean toward leaving it as-is for now.

--
Thanks,
Cheng-Yang