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

2017-01-18 Thread Michael Ellerman
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

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

2017-01-16 Thread Aneesh Kumar K.V
Anshuman Khandual writes: > On 12/13/2016 07:34 PM, Aneesh Kumar K.V wrote: >> generic hugetlbfs can handle that condition correctly. With HPAGE_SHIFT = 0 > > Need to add some context here. "That condition" refers to something without > first mentioning it. It is the conditinal statement that ge

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

2017-01-15 Thread Anshuman Khandual
On 12/13/2016 07:34 PM, Aneesh Kumar K.V wrote: > generic hugetlbfs can handle that condition correctly. With HPAGE_SHIFT = 0 Need to add some context here. "That condition" refers to something without first mentioning it. > we get > [0.241333] hugetlbfs: disabling because there are no supported

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

2017-01-03 Thread Michael Neuling
On Tue, 2016-12-13 at 19:34 +0530, 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 er

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

2016-12-13 Thread Aneesh Kumar K.V
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