From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD1E72222D0; Wed, 15 Apr 2026 10:50:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776250205; cv=none; b=p/znGS8ASfdc+TKOtheRxWZQLrVzVEzXf2EPqPGLZfn54FBLiG8I6CvlorCsxnPXhvodX2d4tpXm045PMSnNHNqJ7K3KilUYpwmDBTyjkGV3Fb1Z8oDdhoSnWgsP919lYX3Y5xVzlIWY0VIfcmU4erGIUWz11rx7bwy+xaG43iM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776250205; c=relaxed/simple; bh=7Y9LZV6U1xyrOHwAijlBN1vXwQsWgvG1uZWTDoxA/OM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GHH/FegOcGukmM6o4ml3Yggl62+LbYt2h1LaHxysTqem+Yb+AswTuilb/bOhJfCiDPQFq2NcmjBrldwMkDquR1dj41kvTJhdLHyw7OUJjAG0a75pmX8f+eBSES4vi4dviPrcotfm41Wsy1F6nUOsiKHoeld8WPje7r1eagApYC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kxpj4DTv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kxpj4DTv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34D0CC19424; Wed, 15 Apr 2026 10:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776250205; bh=7Y9LZV6U1xyrOHwAijlBN1vXwQsWgvG1uZWTDoxA/OM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kxpj4DTv/Yk7p5jvwdsLH5oWgEvb10ysaAyxQKmqcTsDbjN7noPDFcF4XY92vYNJb dOBvecYWIYwyaKhU51xhNFbJzDK1/r+r7irvKFZf0QXmrqleaKgjuTdx9MEhpQPWHC a/kBEIAQAcdivAYufyXZYmLM/fymJTb/ieawaY6CT9YD/021Wf0MNWjlUDAJiUu6r8 j0zwzpWv45cWJNWchRO6obf4PwTSAA+kyao49lACKA2EfoMqYVDGORFxrazmDTg6Qa NooZUVllQoJyWF1P2kWtY0IE5W9KG6V0laP8BmIxTjn241wOO3SCgCxFMx9RDe2gzP lV1YlUpVXGoGw== Date: Wed, 15 Apr 2026 12:50:03 +0200 From: Frederic Weisbecker To: Qiliang Yuan Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , "Paul E. McKenney" , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Uladzislau Rezki , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Anna-Maria Behnsen , Ingo Molnar , Thomas Gleixner , Tejun Heo , Andrew Morton , Vlastimil Babka , Suren Baghdasaryan , Michal Hocko , Brendan Jackman , Johannes Weiner , Zi Yan , Waiman Long , Chen Ridong , Michal =?iso-8859-1?Q?Koutn=FD?= , Jonathan Corbet , Shuah Khan , Shuah Khan , linux-kernel@vger.kernel.org, rcu@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 08/12] workqueue, mm: Support dynamic housekeeping mask updates Message-ID: References: <20260413-wujing-dhm-v2-0-06df21caba5d@gmail.com> <20260413-wujing-dhm-v2-8-06df21caba5d@gmail.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260413-wujing-dhm-v2-8-06df21caba5d@gmail.com> Le Mon, Apr 13, 2026 at 03:43:14PM +0800, Qiliang Yuan a écrit : > Unbound workqueues and kcompactd threads determine their default CPU > affinity from housekeeping masks (HK_TYPE_WQ, HK_TYPE_DOMAIN, and > HK_TYPE_KTHREAD) at boot. Currently, these boundaries are static and > are not updated if housekeeping is reconfigured at runtime. > > Implement housekeeping notifiers for both workqueue and mm compaction. > > This ensures that unbound workqueue tasks and background compaction > threads honor dynamic isolation boundaries configured via sysfs or > cpuset at runtime. > > Signed-off-by: Qiliang Yuan Unbound workqueues and kthreads are already handled by cpuset isolated partitions. Thanks. -- Frederic Weisbecker SUSE Labs