[PATCH v3 2/4] hugetlbfs: move hugepagesz= parsing to arch independent code

Andrew Morton akpm at linux-foundation.org
Tue Apr 28 06:18:02 AEST 2020


On Mon, 27 Apr 2020 12:09:47 -0700 Mike Kravetz <mike.kravetz at oracle.com> wrote:

> Previously, a check for hugepages_supported was added before processing
> hugetlb command line parameters.  On some architectures such as powerpc,
> hugepages_supported() is not set to true until after command line
> processing.  Therefore, no hugetlb command line parameters would be
> accepted.
> 
> Remove the additional checks for hugepages_supported.  In hugetlb_init,
> print a warning if !hugepages_supported and command line parameters were
> specified.

This applies to [4/4] instead of fixing [2/4].  I guess you'll
straighten that out in v4?

btw, was
http://lkml.kernel.org/r/CADYN=9Koefrq9H1Y82Q8nMNbeyN4tzhEfvDu5u=sVFjFZCYorA@mail.gmail.com
addressed?



More information about the Linuxppc-dev mailing list