Re: [PATCH v3] sched: Reset cpumask if __migrate_task() failed for migration_cpu_stop()

From: Peter Zijlstra

Date: Thu Dec 03 2026 - 09:34:09 EST


On Thu, Dec 03, 2026 at 03:19:49PM +0100, Sebastian Andrzej Siewior wrote:
> On 2026-12-03 14:05:19 [+0100], Peter Zijlstra wrote:
> > The below patch boots without burning the machine down.
>
> It seems to work, I don't see any fallout.

\o/

OK, let me go split this into a few patches and commit somewhere.

> …
> > @@ -11326,7 +11314,7 @@ static int sched_non_preferred_cpu_push_
> > update_rq_clock(rq);
> >
> > if (task_rq(p) == rq && task_on_rq_queued(p)) {
> There is now a
> !is_migration_disabled(p))
>
> here in tree as of rc5

Indeed there is.