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

From: Andrew Morton
Date: Mon Apr 27 2020 - 16:18:11 EST


On Mon, 27 Apr 2020 12:09:47 -0700 Mike Kravetz <mike.kravetz@xxxxxxxxxx> 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@xxxxxxxxxxxxxx
addressed?