[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fg5owc6cvx7mkdq64ljc4byc5xmepddgthanynyvfsqhww7wx2@q5op3ltl2nip>
Date: Thu, 27 Mar 2025 10:43:19 +0100
From: Michal Koutný <mkoutny@...e.com>
To: James Houghton <jthoughton@...gle.com>
Cc: Sean Christopherson <seanjc@...gle.com>, kvm@...r.kernel.org,
Maxim Levitsky <mlevitsk@...hat.com>, Axel Rasmussen <axelrasmussen@...gle.com>,
Tejun Heo <tj@...nel.org>, Johannes Weiner <hannes@...xchg.org>,
Yu Zhao <yuzhao@...gle.com>, cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
David Matlack <dmatlack@...gle.com>, Yafang Shao <laoar.shao@...il.com>
Subject: Re: [PATCH 3/5] cgroup: selftests: Move cgroup_util into its own
library
Hello James.
On Thu, Mar 27, 2025 at 01:23:48AM +0000, James Houghton <jthoughton@...gle.com> wrote:
> KVM selftests will soon need to use some of the cgroup creation and
> deletion functionality from cgroup_util.
Thanks, I think cross-selftest sharing is better than duplicating
similar code.
+Cc: Yafang as it may worth porting/unifying with
tools/testing/selftests/bpf/cgroup_helpers.h too
> --- a/tools/testing/selftests/cgroup/cgroup_util.c
> +++ b/tools/testing/selftests/cgroup/lib/cgroup_util.c
> @@ -16,8 +16,7 @@
> #include <sys/wait.h>
> #include <unistd.h>
>
> -#include "cgroup_util.h"
> -#include "../clone3/clone3_selftests.h"
> +#include <cgroup_util.h>
The clone3_selftests.h header is not needed anymore?
Michal
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists