Re: [PATCH 14/15] sched_ext: scx_qmap: Add proxy execution support
Andrea Righi <[email protected]>
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <anQ3jK53Pb0JFoc8@gpd4> |
On Mon, Aug 03, 2026 at 12:22:27PM -1000, Tejun Heo wrote: > On Tue, Jul 28, 2026 at 05:43:32PM +0200, Andrea Righi wrote: > > + * A blocked donor rejected by a local DSQ must not be dispatched back > > + * to the same DSQ immediately. Move it to the global DSQ so another CPU > > + * can pick it up and kick an idle cid to accelerate its consumption. > > My mental picture isn't complete. Can you expand on why this block is > necessary? This was intended to support SCX_OPS_ALWAYS_ENQ_IMMED. A blocked donor is inserted into a local DSQ, but if the donor can't run immediately, it goes back to ops.enqueue() when ENQ_IMMED is set. Maybe we can move this condition in the main SCX_ENQ_REENQ block at the top (explaining this special case with proxy exec)? -Andrea