Re: [PATCH v12 8/9] hugetlb_cgroup: Add hugetlb_cgroup reservation tests

From: Mike Kravetz
Date: Thu Feb 20 2020 - 19:52:29 EST


On 2/11/20 1:31 PM, Mina Almasry wrote:
> The tests use both shared and private mapped hugetlb memory, and
> monitors the hugetlb usage counter as well as the hugetlb reservation
> counter. They test different configurations such as hugetlb memory usage
> via hugetlbfs, or MAP_HUGETLB, or shmget/shmat, and with and without
> MAP_POPULATE.
>
> Also add test for hugetlb reservation reparenting, since this is
> a subtle issue.
>
> Signed-off-by: Mina Almasry <almasrymina@xxxxxxxxxx>
> Cc: sandipan@xxxxxxxxxxxxx

Thanks for adding the tests. At a high level, I do not see any issues.

Acked-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz