Re: [PATCH 3/3] powerpc/mm: call H_BLOCK_REMOVE when supported

2019-09-13 Thread Laurent Dufour
Le 12/09/2019 à 16:20, Aneesh Kumar K.V a écrit : On 8/30/19 5:37 PM, Laurent Dufour wrote: Instead of calling H_BLOCK_REMOVE all the time when the feature is exhibited, call this hcall only when the couple base page size, page size is supported as reported by the TLB Invalidate

Re: [PATCH 3/3] powerpc/mm: call H_BLOCK_REMOVE when supported

2019-09-12 Thread Aneesh Kumar K.V
On 8/30/19 5:37 PM, Laurent Dufour wrote: Instead of calling H_BLOCK_REMOVE all the time when the feature is exhibited, call this hcall only when the couple base page size, page size is supported as reported by the TLB Invalidate Characteristics. supported is not actually what we are checking

[PATCH 3/3] powerpc/mm: call H_BLOCK_REMOVE when supported

2019-08-30 Thread Laurent Dufour
Instead of calling H_BLOCK_REMOVE all the time when the feature is exhibited, call this hcall only when the couple base page size, page size is supported as reported by the TLB Invalidate Characteristics. For regular pages and hugetlb, the assumption is made that the page size is equal to the