cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: "Michal Koutný" <mkoutny@suse.com>
Cc: cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Sebastian Chlad <sebastian.chlad@suse.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Shuah Khan <shuah@kernel.org>
Subject: Re: [PATCH] selftests: cgroup: Make test_pids backwards compatible
Date: Wed, 27 Aug 2025 06:09:12 -1000	[thread overview]
Message-ID: <aK8tqDoouuFmaYb7@slm.duckdns.org> (raw)
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ý <mkoutny@suse.com>
> Tested-by: Sebastian Chlad <sebastian.chlad@suse.com>

Applied to cgroup/for-6.18.

Thanks.

-- 
tejun

      reply	other threads:[~2025-08-27 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-27 15:53 [PATCH] selftests: cgroup: Make test_pids backwards compatible Michal Koutný
2025-08-27 16:09 ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aK8tqDoouuFmaYb7@slm.duckdns.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mkoutny@suse.com \
    --cc=sebastian.chlad@suse.com \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).