[lkml]   [2020]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v10 7/8] hugetlb_cgroup: Add hugetlb_cgroup reservation tests

On 15/01/20 6:56 am, 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
> Also add test for hugetlb reservation reparenting, since this is
> a subtle issue.
> Signed-off-by: Mina Almasry <>

For powerpc64, either 16MB/16GB or 2MB/1GB huge pages are supported depending
on the MMU type (Hash or Radix). I was just running these tests on a powerpc64
system with Hash MMU and ran into problems because the tests assume that the
hugepage size is always 2MB. Can you determine the huge page size at runtime?

- Sandipan

 \ /
  Last update: 2020-01-23 10:16    [W:0.357 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site