summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2016-12-13 19:34:11 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-18 11:58:50 +1100
commitff8b85796dad5de869dc29903c95664fb444bbcc (patch)
treed87aa9d1295cd5a3a1a08fda094f23632b63ecb6 /tools/perf
parentbf5ca68dd2eef59a936969e802d811bdac4709c2 (diff)
powerpc/mm/hugetlb: Don't panic when we don't find the default huge page size
The generic hugetlbfs code can handle not finding the default huge page size correctly. With HPAGE_SHIFT = 0 we see in dmesg: 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: 03bb2d65900c ("powerpc: get hugetlbpage handling more generic") Reported-by: Chris Smart <chris@distroguy.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions