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 7F11A34AAE3; Wed, 27 Aug 2025 16:09:14 +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=1756310954; cv=none; b=nQ1ZNuBVg0qGWxo176C+1iQaUBKGMyMra4V5R9hjaRjZskPj7zOFVllaEgSFjQ8IH0cDVFAwLO/6oq3R4FWwZ38sRnq3RKuXZ+CMh4Jh9Gl7Gftv3eKoEGdqX60nojv3tRoSla7G9/OQSHDR7WpE++UhMV/S+CyKT46iJe7piyA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756310954; c=relaxed/simple; bh=gedjhTojdtO0Y60ESbJpUNxPxI1ipaR3giWJlyGTs18=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sduIW7CV4Ybav3cJfv8KhmBwjJTYOPVrbzrV/F9po0by9KNDpcJQOenbs9MJWyWvsUHPmt5RYQOlv7ClrZmLItSJnwYvTdI2QlgUOmZSHYgDhu8sWURm3YT/Hh1M5mVBXIiw3VA1aRLYXSn4j45eGqkYBLen8EyZ3n67zxic6u8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gpd2/hr/; 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="gpd2/hr/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB4B0C4CEF0; Wed, 27 Aug 2025 16:09:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756310954; bh=gedjhTojdtO0Y60ESbJpUNxPxI1ipaR3giWJlyGTs18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gpd2/hr/NuRLMxyGlrswKwdMJMg2QgSf2a5zyxSOD08Vgwx6U1PrFRaR2E7kygq6w I4OmXymHvwPBttuwzCBOHLlbwRRsO2x1ogJqD4roO8ennCR8XNDTJGGx2l8Srf4sOx o6jp3pb/4PDvBAJeDyhrFnNOHDneRo8OFZl0v5nOKV5VkaMrBM6qv3tqGnrAdA9vQf 3uu/3/CFPlqTXcVAStdrXwnnWnsNMUhb0d19vCaiMsy0PFkRcE8nO+ThOVnXPvp/MA qFjHG1RWtyqkDPIGqCe6/9ldtJjblxby8LHMOpbg4AwgVfQoKlMAOotuD0lGUnZXo0 7TfonItpCEjlg== Date: Wed, 27 Aug 2025 06:09:12 -1000 From: Tejun Heo To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Chlad , Johannes Weiner , Shuah Khan Subject: Re: [PATCH] selftests: cgroup: Make test_pids backwards compatible Message-ID: References: <20250827155301.174365-1-mkoutny@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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250827155301.174365-1-mkoutny@suse.com> On Wed, Aug 27, 2025 at 05:53:00PM +0200, Michal Koutný wrote: > The predicates in test expect event counting from 73e75e6fc352b > ("cgroup/pids: Separate semantics of pids.events related to pids.max") > and the test would fail on older kernels. We want to have one version of > tests for all, so detect the feature and skip the test on old kernels. > (The test could even switch to check v1 semantics based on the flag but > keep it simple for now.) > > Fixes: 9f34c566027b6 ("selftests: cgroup: Add basic tests for pids controller") > Signed-off-by: Michal Koutný > Tested-by: Sebastian Chlad Applied to cgroup/for-6.18. Thanks. -- tejun