Re: [PATCH 3/3] sched_ext: scx_qmap: Also re-enqueue stranded tasks with scx_bpf_dsq_reenq_task()
From: Tejun Heo
Date: Sat Oct 17 2026 - 19:35:24 EST
Hello, Andrea.
On Sun, Oct 18, 2026 at 01:06:39AM +0200, Andrea Righi wrote:
> > + if (p->pid & 1) {
>
> nit: if ((p->pid & 1) && __COMPAT_has_dsq_reenq_task())
scx_qmap is already 7.4-only. It implements ops.sub_cid_sched_updated() and
ops.sub_child_ecaps_updated(), which older kernels don't have, so it doesn't
load there anyway.
Given what qmap is used for, it'd probably make sense to rip out all the
compat stuff from it and just pair it with the latest kernel by default.
Thanks.
--
tejun