Re: [RFC PATCH 3/3] powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache

2019-05-17 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > On 5/16/19 8:17 PM, Michael Ellerman wrote: >> "Aneesh Kumar K.V" writes: >>> 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

Re: [RFC PATCH 3/3] powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache

2019-05-17 Thread Aneesh Kumar K.V
On 5/17/19 9:29 AM, Aneesh Kumar K.V wrote: On 5/16/19 8:17 PM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: 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

Re: [RFC PATCH 3/3] powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache

2019-05-16 Thread Aneesh Kumar K.V
On 5/16/19 8:17 PM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: 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

Re: [RFC PATCH 3/3] powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache

2019-05-16 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > 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

[RFC PATCH 3/3] powerpc/mm/hugetlb: Don't enable HugeTLB if we don't have a page table cache

2019-05-14 Thread Aneesh Kumar K.V
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