Re: [PATCH v2 08/11] sched_ext: Add an event, BYPASS_DISPATCH

Changwoo Min
2025-01-30T06:26:27Z

Hello,

On 25. 1. 28. 05:05, Tejun Heo wrote:
> On Sun, Jan 26, 2025 at 07:16:11PM +0900, Changwoo Min wrote:
> ...
>> has_tasks:
>> + if (scx_rq_bypassing(rq))
>> + __scx_add_event(BYPASS_DISPATCH, 1);
>
> Can we do this at the sources even if that's a bit more code?

Sure. I will remove scx_add_event() and __scx_add_event() and will use
this_cpu_add() and __this_cpu_add() directly.

Regards,
Changwoo Min