Re: [PATCH 3/5] cgroup: selftests: Move cgroup_util into its own library
From: Yafang Shao
Date: Thu Mar 27 2025 - 22:03:52 EST
On Thu, Mar 27, 2025 at 5:43 PM Michal Koutný <mkoutny@xxxxxxxx> wrote:
>
> Hello James.
>
> On Thu, Mar 27, 2025 at 01:23:48AM +0000, James Houghton <jthoughton@xxxxxxxxxx> 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
Thanks for pointing that out—that’s a good suggestion. We should also
consider migrating the bpf cgroup helpers into the new libcgroup.
--
Regards
Yafang