[LTP] [PATCH v3 3/5] API/cgroup: Add memory.min

Li Wang liwang@redhat.com
Tue Feb 8 08:20:10 CET 2022


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
>
>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20220208/474d0449/attachment.htm>


More information about the ltp mailing list