Re: [PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-11 Thread Andrew Morton
On Mon, 11 May 2015 12:09:30 +0530 "Aneesh Kumar K.V" wrote: > Architectures like ppc64 [1] need to do special things while clearing > pmd before a collapse. For them this operation is largely different > from a normal hugepage pte clear. Hence add a separate function > to clear pmd before colla

Re: [PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-11 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Mon, May 11, 2015 at 12:09:30PM +0530, Aneesh Kumar K.V wrote: >> Architectures like ppc64 [1] need to do special things while clearing >> pmd before a collapse. For them this operation is largely different >> from a normal hugepage pte clear. Hence add a separat

Re: [PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-11 Thread Kirill A. Shutemov
On Mon, May 11, 2015 at 12:09:30PM +0530, Aneesh Kumar K.V wrote: > Architectures like ppc64 [1] need to do special things while clearing > pmd before a collapse. For them this operation is largely different > from a normal hugepage pte clear. Hence add a separate function > to clear pmd before col

[PATCH V3] mm/thp: Split out pmd collpase flush into a separate functions

2015-05-10 Thread Aneesh Kumar K.V
Architectures like ppc64 [1] need to do special things while clearing pmd before a collapse. For them this operation is largely different from a normal hugepage pte clear. Hence add a separate function to clear pmd before collapse. After this patch pmdp_* functions operate only on hugepage pte, and