[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <gbuucm74bt32ozem6o2p2kd26xwnwpizbk5ihrwr2swboblfio@jw7pilz2pjjr>
Date: Tue, 29 Apr 2025 14:05:40 +0200
From: Michal Koutný <mkoutny@...e.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: James Houghton <jthoughton@...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>,
Yosry Ahmed <yosry.ahmed@...ux.dev>, Yu Zhao <yuzhao@...gle.com>, David Matlack <dmatlack@...gle.com>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 4/5] KVM: selftests: Build and link
selftests/cgroup/lib into KVM selftests
On Mon, Apr 28, 2025 at 06:03:46PM -0700, Sean Christopherson <seanjc@...gle.com> wrote:
...
> E.g. slot this is before making cgroup_util.c a library?
>
> --
> From: Sean Christopherson <seanjc@...gle.com>
> Date: Mon, 28 Apr 2025 17:38:14 -0700
> Subject: [PATCH] selftests: cgroup: Move memcontrol specific helpers out of
> common cgroup_util.c
>
> Move a handful of helpers out of cgroup_util.c and into test_memcontrol.c
> that have nothing to with cgroups in general, in anticipation of making
> cgroup_util.c a generic library that can be used by other selftests.
>
> Signed-off-by: Sean Christopherson <seanjc@...gle.com>
> ---
> tools/testing/selftests/cgroup/cgroup_util.c | 78 -------------------
> tools/testing/selftests/cgroup/cgroup_util.h | 5 --
> .../selftests/cgroup/test_memcontrol.c | 78 +++++++++++++++++++
> 3 files changed, 78 insertions(+), 83 deletions(-)
This reorg makes sense to me,
Acked-by: Michal Koutný <mkoutny@...e.com>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists