Message ID | 20220207141618.2844-4-rpalethorpe@suse.com |
---|---|
State | Accepted |
Headers | show |
Series | Add memcontrol03 and declarative CG API | expand |
On Mon, Feb 7, 2022 at 10:16 PM Richard Palethorpe <rpalethorpe@suse.com> wrote: > Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com> > Reviewed-by: Cyril Hrubis <chrubis@suse.cz> > Reviewed-by: Li Wang <liwang@redhat.com> > --- > lib/tst_cgroup.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c > index 51b523b80..bb379caf5 100644 > --- a/lib/tst_cgroup.c > +++ b/lib/tst_cgroup.c > @@ -159,6 +159,7 @@ static const struct cgroup_file cgroup_ctrl_files[] = { > > static const struct cgroup_file memory_ctrl_files[] = { > { "memory.current", "memory.usage_in_bytes", CTRL_MEMORY }, > + { "memory.min", NULL, CTRL_MEMORY }, > { "memory.max", "memory.limit_in_bytes", CTRL_MEMORY }, > { "memory.stat", "memory.stat", CTRL_MEMORY }, > { "memory.swappiness", "memory.swappiness", CTRL_MEMORY }, > -- > 2.34.1 > >
diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c index 51b523b80..bb379caf5 100644 --- a/lib/tst_cgroup.c +++ b/lib/tst_cgroup.c @@ -159,6 +159,7 @@ static const struct cgroup_file cgroup_ctrl_files[] = { static const struct cgroup_file memory_ctrl_files[] = { { "memory.current", "memory.usage_in_bytes", CTRL_MEMORY }, + { "memory.min", NULL, CTRL_MEMORY }, { "memory.max", "memory.limit_in_bytes", CTRL_MEMORY }, { "memory.stat", "memory.stat", CTRL_MEMORY }, { "memory.swappiness", "memory.swappiness", CTRL_MEMORY },