On Tue, 2016-12-13 at 14:04:11 UTC, "Aneesh Kumar K.V" wrote: > generic hugetlbfs can handle that condition correctly. With HPAGE_SHIFT = 0 > we get > [0.241333] hugetlbfs: disabling because there are no supported hugepage sizes > > bash-4.2# echo 30 > /proc/sys/vm/nr_hugepages > bash: echo: write error: Operation not supported > > Fixes: "powerpc: get hugetlbpage handling more generic" > Reported-by: Chris Smart <csm...@ozlabs.au.ibm.com> > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > Acked-By: Michael Neuling <mi...@neuling.org>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/ff8b85796dad5de869dc29903c9566 cheers