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 23A39189 for ; Sun, 19 Oct 2025 05:26: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=1760851569; cv=none; b=ZcD0XYwGQWQAbm/BWTHiESLN+0W2gPJgNkuHSWLy8ojaF9pI5z6JY60cm8ChdIKlfpzV/cN1hVPclodAL42F+ujZ2GhnGALX8HoP7jj3tGuKMcxm3s8Lyogkck4FPHcV/DYRh1BJn9Ejc1pESTz7+9XhZymhU3C6DOVIkK/carA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760851569; c=relaxed/simple; bh=h0T3W8ouEen84XWfEFr7K7emuZQR6OFa6kJ8dT5AHug=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c+41iH5GVP8BKLFPkrkvpy/B6YKu00KVj0kGBrQbtG2VnYcqRa4oOCOzVB01UbVXl8+mgTVMg9+O7/hutKmPGvDkyzR3o1Am5uwn5wVoq3Rdwv6LBgSWqbhOhc9a1shfi3OnA1KP34sKmd7da/Uy2wEFMfVrcNpeKDo2T6WPbtM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gxjuVyCj; 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="gxjuVyCj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A692C4CEE7; Sun, 19 Oct 2025 05:26:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760851565; bh=h0T3W8ouEen84XWfEFr7K7emuZQR6OFa6kJ8dT5AHug=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gxjuVyCjuycsSGac+RNNVFd+FJmIqkL2zAFOPsRfWoYDBxbzPUPfYAy1RhjhjFsrj 9fTQ9OsJwv1MGsUbZWZN5jE5mjfHyR4KyV4jiB/KyDbGdm7JUimNwIGiqA/tN3G0JH 7obs84LIEg/xlj2XPYEtuE2Vx0Jq1DXkFv38MjRwXX1cJW+S+/71NE//oZC54uDDsN gYelzTN0RQnhi4Qq47OEIEXnHIQwvYxmpNPeASFMP5RUtkufBNGmWyb/3lV5ye8XWB ZmnF01F8o1+y0hlAj9TNYU2FriPdksPTFwD09b810zLMhBYuu2mrbqRCqQJXbuviwR 6j/xhDNQQ79+g== Date: Sat, 18 Oct 2025 19:26:04 -1000 From: Tejun Heo To: Qu Wenruo Cc: cgroups@vger.kernel.org Subject: Re: freezing() returned false when the cgroup is being frozen Message-ID: References: <88463f43-347d-437b-b026-24e0c397dbb7@suse.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=us-ascii Content-Disposition: inline In-Reply-To: <88463f43-347d-437b-b026-24e0c397dbb7@suse.com> ... > As you explained, since legacy cgroup is not that widely used anymore, I > believe systemd is using cgroup v2, thus it's fully signal based, so > freezing() is no longer the proper way to detect such freezing, but > signal_pending(). > > Maybe some comment on freezing() about this? Yeah, that sounds like a good idea. Will do. Thanks. -- tejun