Re: [PATCH] sched/ext: Add BPF function to fetch rq

From: Tejun Heo
Date: Mon Jul 08 2024 - 13:14:47 EST


Hello,

On Mon, Jul 08, 2024 at 03:01:18PM +0100, Hongyan Xia wrote:
> rq contains many useful fields to implement a custom scheduler. For
> example, various clock signals like clock_task and clock_pelt can be
> used to track load. It also contains stats in other sched_classes, which
> are useful to drive scheduling decisions in ext.
>
> Signed-off-by: Hongyan Xia <hongyan.xia2@xxxxxxx>

Applied to sched_ext/for-6.11. I moved the new helper below
scx_bpf_task_cpu() as that's the block for more generic accessors.

Thanks.

--
tejun