On Fri, Jul 31, 2020 at 8:34 PM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > > On Fri, Jul 31, 2020 at 3:09 PM John Fastabend <john.fastabend@xxxxxxxxx> wrote: > > > > Nearly every user of cgroup helpers does the same sequence of API calls. So > > push these into a single helper cgroup_setup_and_join. The cases that do > > a bit of extra logic are test_progs which currently uses an env variable > > to decide if it needs to setup the cgroup environment or can use an > > existingi environment. And then tests that are doing cgroup tests > > themselves. We skip these cases for now. > > > > Signed-off-by: John Fastabend <john.fastabend@xxxxxxxxx> > > --- > > makes total sense, thanks for the clean up! > > Acked-by: Andrii Nakryiko <andriin@xxxxxx> Applied. Thanks