[RFC V2 0/1] mm/debug: Add tests for architecture exported page table helpers
Matthew Wilcox
willy at infradead.org
Fri Aug 9 20:16:33 AEST 2019
On Fri, Aug 09, 2019 at 01:03:17PM +0530, Anshuman Khandual wrote:
> Should alloc_gigantic_page() be made available as an interface for general
> use in the kernel. The test module here uses very similar implementation from
> HugeTLB to allocate a PUD aligned memory block. Similar for mm_alloc() which
> needs to be exported through a header.
Why are you allocating memory at all instead of just using some
known-to-exist PFNs like I suggested?
More information about the Linuxppc-dev
mailing list