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 DF514332916; Mon, 2 Mar 2026 11:49:24 +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=1772452165; cv=none; b=Sxp20ArSpbBn4hJK7+10QXOZqR+j74DrJ0WLLzeBFIrJwRQ5M4S4HiwtJljWGoorChOfVKK7IS61JRLq+ZcnY0DM4s71MtEROLk3VN0AENnR8kB6MU2X4GKtM82x3DGAV4dz49ghykVVHGZ6mEdU9JaL4EKh7aSqh43ittzuzAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772452165; c=relaxed/simple; bh=xcb5BTnCTMCmZL1jucKyAANEnR5vxCCMkbX1NRaJmGU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U5CbspyRHJE93xTqOVB9RMhcSUfWnXtyx5dh2U7+jTELeFRlIJRHq363WoYS/AE9MPQBvvSpB5+H7hxKgbkbD20AnXiRH3g1EdAaYtrnaJx+SBBnNB8ufpkSi/UvMaKRsUwt4O9F8e9mNbJJSPODOXfxkH1UPoJU0EIFSZEfpx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lBrDGFKc; 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="lBrDGFKc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34474C2BCB0; Mon, 2 Mar 2026 11:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772452164; bh=xcb5BTnCTMCmZL1jucKyAANEnR5vxCCMkbX1NRaJmGU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lBrDGFKcvyNLDn/+kqHiOiXMXdEFoeBWzAGpLarQ79tpNMRDoYrqm7y67nOo3WwMo ebIcv0+g9gOPikIV5pIOWJaNk0TpRjq9zwzyvezHaRSBpuM0zdYVbKF65qZY+x53gE qUhjSqE7m8pddoE7Zy0SYOrSmkzVOwJEn7vmTTWHBYjQIhVyqwEy/ENCzG+2FitE4K 4QnS5aV9iOWLFQoo0/EpNRWNldMKzEPmlZLudVLrCKdTve5EwFpbypVJi3EPNmLkaT 1RQNV2s193UgF6KZqwdL0V9xe/qOth/6vlERlcPS0OjNjLYOkHn+yqtlUy8+lWW8qP wbRMndWgg+Q6Q== Date: Mon, 2 Mar 2026 12:49:22 +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 7/8] cgroup/cpuset: Defer housekeeping_update() calls from CPU hotplug to workqueue Message-ID: References: <20260221185418.29319-1-longman@redhat.com> <20260221185418.29319-8-longman@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260221185418.29319-8-longman@redhat.com> On Sat, Feb 21, 2026 at 01:54:17PM -0500, Waiman Long wrote: > The cpuset_handle_hotplug() may need to invoke housekeeping_update(), > for instance, when an isolated partition is invalidated because its > last active CPU has been put offline. > > As we are going to enable dynamic update to the nozh_full housekeeping > cpumask (HK_TYPE_KERNEL_NOISE) soon with the help of CPU hotplug, > allowing the CPU hotplug path to call into housekeeping_update() directly > from update_isolation_cpumasks() will likely cause deadlock. It would be nice to describe the deadlock scenario here. Thanks.