Re: [PATCH v3] powerpc/mm: Implemented default_hugepagesz verification for powerpc

From: Aneesh Kumar K.V
Date: Fri Aug 04 2017 - 01:58:20 EST

Victor Aoqui <victora@xxxxxxxxxxxxxxxxxx> writes:

> Implemented default hugepage size verification (default_hugepagesz=)
> in order to allow allocation of defined number of pages (hugepages=)
> only for supported hugepage sizes.
> Signed-off-by: Victor Aoqui <victora@xxxxxxxxxxxxxxxxxx>

I am still not sure about this. With current upstream we get

PCI: Probing PCI hardware
PCI: Probing PCI hardware done
HugeTLB: unsupported default_hugepagesz 2097152. Reverting to 16777216
HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages
HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages

That warning is added by


Which should be good enough right ?