Re: [PATCH v2 sched_ext/for-7.1] sched_ext: Invalidate dispatch decisions on CPU affinity changes

From: Tejun Heo

Date: Mon May 04 2026 - 17:26:27 EST


On Mon, May 04, 2026 at 08:00:50AM +0000, Kuba Piecuch wrote:
> Random thought: If exposing qseq values to BPF directly is undesirable, then
> perhaps a less objectionable approach would be to expose them as opaque
> cookie/token values? Same semantics, but fewer SCX internals leaking to BPF.

Yeah, cookie sounds fine to me and let's clearly note that this is for
schedulers that don't implement properly synchronized dequeue.

Thanks.

--
tejun