[LTP] [PATCH 05/16] API/cgroup: Add more controllers to tst_cgroup

Li Wang liwang@redhat.com
Mon Jan 24 08:21:52 CET 2022


Li Wang <liwang@redhat.com> wrote:

> > +static const struct cgroup_file pids_ctrl_files[] = {
> > +       { "pids.max", "pids.max", CTRL_PIDS },
> > +       { "pids.current", "pids.current", CTRL_PIDS },
>
> I'm afraid there is no "pids.max|current" in the cgroup V1 directory.

> > +static const struct cgroup_file rdma_ctrl_files[] = {
> > +       { "rdma.max", "rdma.max", CTRL_RDMA },
> > +       { "rdma.current", "rdma.current", CTRL_RDMA },
>
> Here as well, can you recheck them exist in V1?

Please ignore these two comments, I found them in subdirectories.
(sorry, I was dazzled on such many files :)

-- 
Regards,
Li Wang



More information about the ltp mailing list