[LTP] [PATCH v6 3/7] Add new CGroups APIs

Li Wang liwang@redhat.com
Thu May 6 09:56:22 CEST 2021


Hi Richard,

With my pleasure for patchset:
Reviewed-by: Li Wang <liwang@redhat.com>

Also, the below typos should be corrected (someone who merges these
can help modify).

--- a/lib/tst_cgroup.c
+++ b/lib/tst_cgroup.c
@@ -147,7 +147,7 @@ static const files_t cgroup_ctrl_files = {
        /* procs exists on V1, however it was read-only until kernel v3.0. */
        { "cgroup.procs", "tasks", 0 },
        { "cgroup.subtree_control", NULL, 0 },
-       { "cgroup.clone_children", "clone_children", 0 },
+       { "cgroup.clone_children", "cgroup.clone_children", 0 },
        { }
 };

@@ -158,7 +158,7 @@ static const files_t memory_ctrl_files = {
        { "memory.swap.current", "memory.memsw.usage_in_bytes", CTRL_MEMORY },
        { "memory.swap.max", "memory.memsw.limit_in_bytes", CTRL_MEMORY },
        { "memory.kmem.usage_in_bytes", "memory.kmem.usage_in_bytes",
CTRL_MEMORY },
-       { "memory.kmem.limit_in_bytes", "memory.kmem.usage_in_bytes",
CTRL_MEMORY },
+       { "memory.kmem.limit_in_bytes", "memory.kmem.limit_in_bytes",
CTRL_MEMORY },
        { }
 };


-- 
Regards,
Li Wang



More information about the ltp mailing list