Re: [PATCH RESEND v2 1/2] sched/core: Preserve WF_RQ_SELECTED across queued wakeups

From: Kuba Piecuch

Date: Mon Nov 30 2026 - 08:09:43 EST


On Tue, 24 Nov 2026 14:46, Tejun Heo wrote:
> Hello, Peter.
>
> On Mon, Nov 23, 2026 at 05:18:01PM +0000, Kuba Piecuch wrote:
> ...
>> Fix case 2 by preserving WF_RQ_SELECTED across the wakelist in the same
>> way WF_MIGRATED is, so that ttwu_do_activate() passes
>> ENQUEUE_RQ_SELECTED to activate_task(). Case 1 is unaffected.
>
> Like Tao's ENQUEUE_RQ_SELECTED patch, this one only affects sched_ext. Can
> I take it through sched_ext too?
>
> Thanks.

Sent v3 which addresses Sashiko's findings on the selftest and is based
on sched_ext/for-7.4-fixes, let's continue the discussion there:
https://lore.kernel.org/all/20261130130447.2225810-1-jpiecuch@xxxxxxxxxx/

Thanks,
Kuba