diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-05-28 08:36:26 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-07-04 17:48:01 +0300 |
commit | ac25ba68fa4001c85395f0488b1c7a2421c5aada (patch) | |
tree | 7d18244b1c3011789b3e7eaa49a8c0aedee2e44f /.gitignore | |
parent | 5d49275a27310233964fc3edc8dd097a094ce338 (diff) | |
download | linux-ac25ba68fa4001c85395f0488b1c7a2421c5aada.tar.xz |
powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache
This makes sure we don't enable HugeTLB if the cache is not configured.
I am still not sure about this. IMHO hugetlb support should be a hardware
support derivative and any cache allocation failure should be handled as I did
in the earlier patch. But then if we were not able to create hugetlb page table
cache, we can as well declare hugetlb support disabled thereby avoiding calling
into allocation routines.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions