Re: [PATCH v10 7/8] hugetlb_cgroup: Add hugetlb_cgroup reservation tests

From: Mina Almasry
Date: Thu Jan 23 2020 - 15:05:43 EST


On Thu, Jan 23, 2020 at 1:15 AM Sandipan Das <sandipan@xxxxxxxxxxxxx> wrote:
>
> 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?
>

Absolutely. Let me try to reproduce this failure and it should be
fixed in the next patchset version.