Commit 29750f71 authored by Committed by Linus Torvalds
hugetlb_cgroup: add hugetlb_cgroup reservation tests
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 <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Tested-by: Sandipan Das <email@example.com> [powerpc64] Acked-by: Mike Kravetz <firstname.lastname@example.org> Cc: Sandipan Das <email@example.com> Cc: David Rientjes <firstname.lastname@example.org> Cc: Greg Thelen <email@example.com> Cc: Shakeel Butt <firstname.lastname@example.org> Cc: Shuah Khan <email@example.com> Link: http://firstname.lastname@example.orgSigned-off-by: Linus Torvalds <email@example.com>
Showing with 1086 additions and 0 deletions
This diff is collapsed.