Hi David,
On 30/01/20 2:30 am, David Rientjes wrote:
On Thu, 23 Jan 2020, Sandipan Das 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?
I assume this is only testing failures of the tools/testing/selftests additions that hardcode 2MB paths and not a kernel problem? In other words, you can still boot, reserve, alloc, and free hugetlb pages on ppc after this patchset without using the selftests?
Yes, its just the hardcoded paths. I didn't run into any kernel problems.
- Sandipan