Re: [PATCH] sched_ext: Count cap-rejected local DSQ inserts in SCX_EV_SUB_REJECT

From: Tejun Heo

Date: Mon Sep 28 2026 - 15:09:04 EST


Hello, Liang.

On Fri, Sep 25, 2026 at 03:05:00PM +0800, luoliang@xxxxxxxxxx wrote:
> The first two are counted but the last is not, so the number of tasks
> diverted to the reject DSQ is missing from the counters exposed via
> sysfs, scx_dump_state() and the scx_bpf_events() kfunc.

I have nothing against adding the counter, but we don't count every path,
so an uncounted branch arm isn't a reason by itself. What's the rationale
for counting this one?

> Fixes: 75a8c8202c91 ("sched_ext: Add reject DSQ for cap-rejected dispatches")

This doesn't fix a bug. Can you drop the Fixes: tag?

Thanks.

--
tejun