Re: [PATCH 17/24] sched/fair: Implement delayed dequeue

From: Peter Zijlstra
Date: Wed Nov 06 2024 - 09:33:46 EST


On Wed, Nov 06, 2024 at 03:14:58PM +0100, Mike Galbraith wrote:
> On Wed, 2024-11-06 at 14:53 +0100, Peter Zijlstra wrote:
> >
> > So... I was trying to make that prettier and ended up with something
> > like this:
>
> Passing ENQUEUE_DELAYED to dequeue_task() looks funky until you check
> the value, but otherwise yeah, when applied that looks better to me.

Yeah, it does look funneh, but we've been doing that for a long long
while.

Still, perhaps I should rename the shared ones to QUEUE_foo and only
have the specific ones be {EN,DE}QUEUE_foo.