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 9A019425CE7; Thu, 26 Feb 2026 15:51:44 +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=1772121104; cv=none; b=QiI6r8tYFHgFpyyErCIkOwoflqzMN2RgL55qG5LdOcW1W0NccDQtCzqqKklTU0oxNJ19PlFIRLuy1c5DymcIJhiXi2jqUpidqHEIl7pMSBXN/e/WldrJi4i9ekEBdyD3iRW6tcsNlTwgLZXAyrIFLGks8sa8n14qOrpDyVFvMi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772121104; c=relaxed/simple; bh=VqaSR0JBQ1eUP4jJc2XA5zRz1WrMzIPDLeU/NMhZ2eU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=decOFqYhFQunw9CUnHGW9o98qfOBs1969iDVFhvN8tW7kb1IAe+lHrZHO617l4Jj6pf7EQHjd5RJxzhfLtSL03GIwghulEByYXB3okwKI9ZuPWmf9wRgE23aUpRYqnXlwNlzUNPa2333FjR2FCyc/cEEGWJ6Hg4RRuonDGzZ1zg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i8e2LxfZ; 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="i8e2LxfZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B73AFC116C6; Thu, 26 Feb 2026 15:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772121104; bh=VqaSR0JBQ1eUP4jJc2XA5zRz1WrMzIPDLeU/NMhZ2eU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i8e2LxfZG+RYxPneRrwuDaahHvk0uGRF3lGx0jZW9232qQpW6t6to4Kj+g+IJ/MaA 1i+JMQRK3oae0y6XjtNxVVnXyhBiKeN5KwG/3QvqUSnZmqLb5cWrQ3lUUsErfinaJU hXd/A0MDE93U88qnvFQLfpggPkcz6tVpSKy29EkhxP/0575z3omULcXX41qyarh5Mc j2UgO/saAtUMYqPvSAeod3jBD+BvMYVQ2jgOL+H3n+5z8X8lRfKtMPSXiH+vz8L4lj qJdctuiffQRH5xhQOKbM4Ac7uk/W+BKf8rN3g9CG/OLGIA/PK/84HnNdv+3k0qwT92 G/V6CcNFtkT6A== Date: Thu, 26 Feb 2026 16:51:41 +0100 From: Frederic Weisbecker To: Waiman Long Cc: Chen Ridong , Tejun Heo , Johannes Weiner , Michal =?iso-8859-1?Q?Koutn=FD?= , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Thomas Gleixner , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v6 6/8] cgroup/cpuset: Move housekeeping_update()/rebuild_sched_domains() together Message-ID: References: <20260221185418.29319-1-longman@redhat.com> <20260221185418.29319-7-longman@redhat.com> Precedence: bulk X-Mailing-List: cgroups@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: <20260221185418.29319-7-longman@redhat.com> Le Sat, Feb 21, 2026 at 01:54:16PM -0500, Waiman Long a écrit : > With the latest changes in sched/isolation.c, rebuild_sched_domains*() > requires the HK_TYPE_DOMAIN housekeeping cpumask to be properly > updated first, if needed, before the sched domains can be > rebuilt. So the two naturally fit together. Do that by creating a new > update_hk_sched_domains() helper to house both actions. > > The name of the isolated_cpus_updating flag to control the > call to housekeeping_update() is now outdated. So change it to > update_housekeeping to better reflect its purpose. Also move the call > to update_hk_sched_domains() to the end of cpuset and hotplug operations > before releasing the cpuset_mutex. > > Signed-off-by: Waiman Long Acked-by: Frederic Weisbecker -- Frederic Weisbecker SUSE Labs