From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796307593; b=R8qO04WVXHA0Dlb4/u75jnkbwM1ncEdFVtM9nxvNmMrxnzXOxDMPiZOoKM1AeIX3whtL jWyVqYXy7katGejNH5ebOHM6IrZTc80ym67WUq1efj/H4ZxBn5/ZZsZGw9PDdIYA8b95i qf6YiZvEfaB1QfAqYCtFsn7w9LOI3zIc5Slj2qghpw3dyXZzD9qmk7LvQXhI91FsEbVjc AdG39yz1QYQehrS8G783VdvpCpx4uU2CptligHJeSjj4WbH4w/f5Jd1ROTioTSiDx+PPE 7V6OXmPhSznH5r0Z9Iud0lDJ3vX1+1wzq0O3h7A5mpVoRDsvSpQc5MOB3Z6JyA4bRyw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796307593; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=3G6JnAz4XLzI1V/CH9yMpCWCQim/LsQfyv0PrzKbw+k=; b=vYBPpqleBV5KkaPVyqBOGP+f0m2bizp20K8BRRfkBC+qiiybys+XosGLDOd+hK5/w7XJ 0jHEN354/vLkGQ7gPiieaL/QhjaCyM11HD1Jh/CtWZAehi1/oaGeDL9IhiTH07WIyO5B6 wzImGWSBvTSdWMK/sVzUYXb8wLRnNL1s37padxziCK+JoyyiQfBFQvy4EVyAWCRla1/kb 7eycfa6madq0vDgB5oKQC5yi1DoTzGkms0VFco4JL4X1kaQ4SNz6MfeyGYcq5ADp4/uTF hTCyUc51MVPQV2ZeWx2U0FQ/d1TBrmLdNyFZeu8u/bXpThLJBwh4dMqNnbyw1TBgbmQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=1rGcWbzl; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b="JxdSUh5/"; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75C25606A335 for ; Thu, 3 Dec 2026 14:19:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 75C25606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=1rGcWbzl; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=JxdSUh5/ Date: Thu, 3 Dec 2026 15:19:49 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796307590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3G6JnAz4XLzI1V/CH9yMpCWCQim/LsQfyv0PrzKbw+k=; b=1rGcWbzlhROiM8VK/2uP4xBLD+2+uk0Sfbr3kkRRq+mvjtoMlCnQ3dRYJmgQqyYxz/71SA pn1zid16stHKZT8Nd9YniYbyaVy8uKkcJw5eMOEp1XynTZYMH5puxNtUPii3F3RwrVW15E 2ZDwhJxVDf5ctdDQEwSNNsPrLdSyKeaXyXojfHsy83rpNJ+yeN9nXTyTI5CQNmGI1o3r5M GP0/qrMNU30beDEjzzhwdWBO4BPmSDRiAV1tu7xZmV8EhRo0tCQEXo0otkYE3kuC8GE0U0 YOrYsm+BLvq4KsDEWbtJYEMN4dmpNbtltTuiaJTTpkWdyq7/BiDbmBU3y8eHKQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796307590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3G6JnAz4XLzI1V/CH9yMpCWCQim/LsQfyv0PrzKbw+k=; b=JxdSUh5/MDZHecmBy+Acoser6S1L1TA1TbWHbHD4Px1s5Y2YAMfYzLh/aB7rNxuA+XGm+R AxUqIm6lrajgAZDg== From: Sebastian Andrzej Siewior To: Peter Zijlstra Cc: Karl Mehltretter , linux-kernel@vger.kernel.org, syzbot , Thomas Gleixner , Radu Rendec , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak Subject: Re: [PATCH v3] sched: Reset cpumask if __migrate_task() failed for migration_cpu_stop() Message-ID: <20261203141949.JSxiFc7A@linutronix.de> References: <20261120171658.Cf9qIU-Y@linutronix.de> <20261125172018.GD2668564@noisy.programming.kicks-ass.net> <20261125193735.qrxCdHTx@linutronix.de> <20261126104049.GC49833@noisy.programming.kicks-ass.net> <20261128172430.69629-1-kmehltretter@gmail.com> <20261202144240.GG2668564@noisy.programming.kicks-ass.net> <20261203130519.GC677025@noisy.programming.kicks-ass.net> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20261203130519.GC677025@noisy.programming.kicks-ass.net> 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. =E2=80=A6 > @@ -11326,7 +11314,7 @@ static int sched_non_preferred_cpu_push_ > update_rq_clock(rq); > =20 > if (task_rq(p) =3D=3D rq && task_on_rq_queued(p)) { There is now a=20 !is_migration_disabled(p)) here in tree as of rc5 > - struct rq *dest_rq =3D __migrate_task(rq, &rf, p, cpu); > + struct rq *dest_rq =3D move_queued_task(rq, &rf, p, cpu); > =20 > if (rq !=3D dest_rq) > schedstat_inc(p->stats.nr_migrations_cpu_non_preferred); Sebastian