Re: [RFC PATCH] powerpc/mm: THP page cache support

2016-09-26 Thread Balbir Singh
On 27/09/16 01:53, Aneesh Kumar K.V wrote: >>> >>> +void zap_deposited_table(struct mm_struct *mm, pmd_t *pmd) >> >> static? > > Ok I will fix that. inline as well? Balbir Singh.

Re: [RFC PATCH] powerpc/mm: THP page cache support

2016-09-26 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Thu, Sep 22, 2016 at 09:32:40PM +0530, Aneesh Kumar K.V wrote: >> Update arch hook in the generic THP page cache code, that will >> deposit and withdarw preallocated page table. Archs like ppc64 use >> this preallocated table to store the

Re: [RFC PATCH] powerpc/mm: THP page cache support

2016-09-26 Thread Kirill A. Shutemov
On Thu, Sep 22, 2016 at 09:32:40PM +0530, Aneesh Kumar K.V wrote: > Update arch hook in the generic THP page cache code, that will > deposit and withdarw preallocated page table. Archs like ppc64 use > this preallocated table to store the hash pte slot information. > > This is an RFC patch and I

[RFC PATCH] powerpc/mm: THP page cache support

2016-09-22 Thread Aneesh Kumar K.V
Update arch hook in the generic THP page cache code, that will deposit and withdarw preallocated page table. Archs like ppc64 use this preallocated table to store the hash pte slot information. This is an RFC patch and I am sharing this early to get feedback on the approach taken. I have used