Thread (5 messages) 5 messages, 4 authors, 2017-01-18

Re: powerpc/mm/hugetlb: Don't panic if we don't find the default huge page size

From: Michael Ellerman <hidden>
Date: 2017-01-18 12:10:20

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 <redacted>
Signed-off-by: Aneesh Kumar K.V <redacted>
Acked-By: Michael Neuling <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/ff8b85796dad5de869dc29903c9566

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help