From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 693F33C8728 for ; Mon, 30 Mar 2026 11:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774871181; cv=none; b=A75PRWxP7TcKJj+L4jyDFRswGSFOVisXNy6wODrPUyMcUWLzRH66u1HLEQaN4qB2i0iQx1ewFR3sXKF9TEfuYblJXGLg19g5vCII6Apa9mgpt2yQBtxPnHPFkGOjncBFMf2MWDt7eu0Znm/2FyOqetDVvj/R8buRGDfmIjTet9A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774871181; c=relaxed/simple; bh=qTmtyABsMZxVL7dEpA9F+DSHfsWRV7AZpPMrHUVPxZk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JYggFLUiZbN2ZGJdPmZlwDaNAUvOV1D6ea1cd4Gh4PPvrYLRSqAV9LyzHKw77gnhb2w/KSl2QVoCgpg7KX1E6MeBpmjVGn15LurkzlQNBZeA1BrrD5CDim6KIF8Hr6aUgsvIHvPkkoE0Ownqi6Hkrj05IRbEzTHKiT14fuoeM+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=oQjTBw80; arc=none smtp.client-ip=74.125.82.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oQjTBw80" Received: by mail-dy1-f180.google.com with SMTP id 5a478bee46e88-2c66eafc1easo1250328eec.1 for ; Mon, 30 Mar 2026 04:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774871180; x=1775475980; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=88r4nrovufv2sJYIOMDGEaf/zyrN4LEqGmAEdjsIQK0=; b=oQjTBw80G6CPbV3xb9k8mHMMY66IwAMSWDkSUVihulzz4295Y2owI2WWIbWYbEYf7J 8l5zspwZvwaZdE2B33Q9sljA5SQvXuRWRLvf7ZNEJuDVyGDszJ8V0nZDlTWWIliaxD7w I3STYj8BCUXAW+GgN0aKo/crTBlkkH0MpufaDThuc8MV0/qwvjuOaxSHizaZYmLpvn4o 0mIfsL/6SkCYJtHrin0XJogiSfOT5oBLGJieUnU7hVhc8wYWf045jWgjvjS8/OijfcBT pxF3U92ZF9BtGwpfvlZlPaVT8tch9ocb+2ECdesrqPUclcn7wMB3f3hmPA/PkxnLGETK CeHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774871180; x=1775475980; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=88r4nrovufv2sJYIOMDGEaf/zyrN4LEqGmAEdjsIQK0=; b=kddG2dRT9upFpgbb+421jQ9V1mtwu1MSSoqTnrvOEkTRVcuqMeyJ47Bpt99lAg1xGN fVAdwKXj5tGkr1MFlh6CTVgO2Uwu3FbI+VekP7jNI8gOJJw97n2N9UuI9O4yL6UV08sb P78emPOG/3AqDiU0y/VLgaYwGenjeXrbHh+L1W/NaXEDI8sYx9EzJgB9lGk5sgE1FuFV Y01wiTFjLFGEbUDlyIwTT55y5PXJ2SFaZqbfy4HnpE8veMyH6hor1wwozQClpXb+/DRm rJZDsWU7tckDDumcAFxe6RayKwJd45e54/k6HayoYMPfQXi3wtgrRHByYEyqsDv8lHxr 60aw== X-Forwarded-Encrypted: i=1; AJvYcCXPohyBz/9dPTfdGnN0Pkc+n9AaklFWwTY6WfPbrhIM/BNGLwhmZcbWQympN3sW3EmDxhlW7mnxzxcQ37Y=@vger.kernel.org X-Gm-Message-State: AOJu0YwZnY6c8m1HyMRQ9I2VtzXrdc0XDsSkrtpouoXFp5Es9xfb5Ox/ DFppuF1OzgaEpWVG9f6eHwg9CELO+RzQUMQgdM4eB6VNUXs/LeBMu7fh X-Gm-Gg: ATEYQzxdeMlELJ4k0ze8JcNuADKgHJWew8izMZq9f2Y8Vw4t46/3moI5Faqx4587drL WdBL7HIhZ8XbTL2e6iMUSLKICy/nvKw+O1j3Z1AmJdJ2CsgHhHIg5vt+WpQ1dyIyLpGNE8WYB1Z ERY//CE+RVvaZf/+yrgHaSRQQdddgXQkA9vfxx2bZ94wOhhCv9byjK8jXGGSOV7X5oAYHbWlb8C Jla2estE2P3qgobY2VNa0OaEI1f1CbCc/3p3k0PveFDm9ZJJtasmSVt484XrLYf+PIIWjdo3MSB ddfJ6yfIIyBSVH7PRjzgneIPMkiDAVPVu0oWBhsUSmVxls/zYi0TwkFQXxmLGhevG4tJaT1yYzh jNIyf1UiK8QyfUd2jE0DbWkogaIYkURWRd0kVyYB16QpUGioMUGBKG33bhkVlJ8yvkuAbrqc6Kk vFNI7Lof+IwhI/znoL6QJcGkIy7mMfnWeflM8= X-Received: by 2002:a05:7301:3d06:b0:2c6:cdb3:bd5e with SMTP id 5a478bee46e88-2c6cdc30b84mr964511eec.28.1774871179502; Mon, 30 Mar 2026 04:46:19 -0700 (PDT) Received: from localhost.localdomain ([74.48.213.230]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2c3c6e9c088sm6703832eec.21.2026.03.30.04.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 04:46:19 -0700 (PDT) From: Qiliang Yuan To: peterz@infradead.org Cc: longman@redhat.com, cgroups@vger.kernel.org, akpm@linux-foundation.org, anna-maria@linutronix.de, boqun.feng@gmail.com, bsegall@google.com, dietmar.eggemann@arm.com, frederic@kernel.org, hannes@cmpxchg.org, jackmanb@google.com, jiangshanlai@gmail.com, joelagnelf@nvidia.com, josh@joshtriplett.org, juri.lelli@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, mathieu.desnoyers@efficios.com, mgorman@suse.de, mhocko@suse.com, mingo@kernel.org, mingo@redhat.com, neeraj.upadhyay@kernel.org, paulmck@kernel.org, qiang.zhang@linux.dev, rcu@vger.kernel.org, realwujing@gmail.com, rostedt@goodmis.org, shuah@kernel.org, surenb@google.com, tglx@kernel.org, tj@kernel.org, urezki@gmail.com, vbabka@suse.cz, vincent.guittot@linaro.org, vschneid@redhat.com, ziy@nvidia.com Subject: Re: [PATCH 07/15] watchdog: Allow runtime toggle of lockup detector affinity Date: Mon, 30 Mar 2026 19:45:46 +0800 Message-ID: <20260330114546.103726-1-realwujing@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260325140324.GD3738786@noisy.programming.kicks-ass.net> References: <20260325140324.GD3738786@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, Mar 25, 2026 at 03:03:24PM +0100, Peter Zijlstra wrote: > Why would we want to toggle the watchdog? It's linked to the > TIMER housekeeping type anyway, right? Yes, it is. The original patch had an independent toggle that felt redundant to you, and I agree. The watchdog affinity follows the timer housekeeping state. I'll simplify this by removing the custom toggle and making it a guaranteed side-effect of the global housekeeping state update. This keeps the configuration simple while still achieving the goal of keeping the isolated cores completely clean during dynamic changes.