Re: [DISCUSSION] SCX_OPS_ALWAYS_ENQ_IMMED semantics clarification
From: Tejun Heo
Date: Wed Mar 25 2026 - 12:11:49 EST
Hello,
On Wed, Mar 25, 2026 at 03:39:20PM +0800, zhidao su wrote:
> 1. Is this behavior intentional? Should "all local DSQ enqueues" in the
> flag documentation be understood as "all BPF-path local DSQ enqueues"?
Yes.
> 2. Should the flag documentation be updated to clarify this exception?
Maybe? What the documentation is trying to say is that if the ALWAYS flag is
set it'd behave as if all dsq_insert / dsq_move calls that the BPF scheduler
makes have IMMED set, which is what it does.
Thanks.
--
tejun