Re: [PATCH] sched/core: Call wakeup_preempt() for queued tasks during class change

From: K Prateek Nayak

Date: Wed Oct 14 2026 - 02:38:01 EST


Hello folks,

On 10/13/2026 8:54 PM, K Prateek Nayak wrote:
> Reported-by: "Paul E. McKenney" <paulmck@xxxxxxxxxx>
> Closes: https://lore.kernel.org/lkml/8fa7f795-518c-4507-b684-60b0c1cac2c5@paulmck-laptop/
> Fixes: 1e900f415c60 ("sched: Detect per-class runqueue changes")

Small correction: The above Fixes should actually be:

Fixes: 704069649b5b ("sched/core: Rework sched_class::wakeup_preempt() and rq_modified_*()")

Until then "queue_mask" was being modified at enqueue and that would
have captured the class change. Commit 704069649b5b moved to using
next_class and used the wakeup_preempt() path to set it.

--
Thanks and Regards,
Prateek