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@google.com Cc: sandipan@linux.ibm.com
Thanks for adding the tests. At a high level, I do not see any issues.
Acked-by: Mike Kravetz mike.kravetz@oracle.com