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 > --- 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
Attachment:
signature.asc
Description: PGP signature