Re: [LTP] [PATCH v8 2/2] tst_cgroup.c: Add a cgroup pseudo controller

Cyril Hrubis
2023-04-21T10:57:23Z

Hi!
> diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c
> index 77575431d..6a70bf4b4 100644
> --- a/lib/tst_cgroup.c
> +++ b/lib/tst_cgroup.c
> @@ -94,9 +94,10 @@ enum cgroup_ctrl_indx {
> CTRL_MISC,
> CTRL_PERFEVENT,
> CTRL_DEBUG,
> - CTRL_RDMA
> + CTRL_RDMA,
> + CTRL_PSEUDO

I wonder if PSEUDO is the right name here. Maybe CTRL_BASE as we do not
mount any controller to access the control files.

--
Cyril Hrubis
chrubis@suse.cz