Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-04-04 Thread Aneesh Kumar K.V
On Wednesday 05 April 2017 08:29 AM, Alexey Kardashevskiy wrote: On 04/04/17 19:26, Aneesh Kumar K.V wrote: Alexey Kardashevskiy writes: The CMA pages migration code does not support compound pages at the moment so it performs few tests before proceeding to actual page migration. One of th

Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-04-04 Thread Alexey Kardashevskiy
On 04/04/17 19:26, Aneesh Kumar K.V wrote: > Alexey Kardashevskiy writes: > >> The CMA pages migration code does not support compound pages at >> the moment so it performs few tests before proceeding to actual page >> migration. >> >> One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTa

Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-04-04 Thread Aneesh Kumar K.V
Alexey Kardashevskiy writes: > The CMA pages migration code does not support compound pages at > the moment so it performs few tests before proceeding to actual page > migration. > > One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTail()) as > it should be called on head pages. Since

Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-04-02 Thread Balbir Singh
On Tue, 2017-03-28 at 16:25 +1100, Alexey Kardashevskiy wrote: > The CMA pages migration code does not support compound pages at > the moment so it performs few tests before proceeding to actual page > migration. > > One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTail()) as > it shoul

Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-03-28 Thread Alexey Kardashevskiy
On 28/03/17 21:45, Michael Ellerman wrote: > Alexey Kardashevskiy writes: > >> The CMA pages migration code does not support compound pages at >> the moment so it performs few tests before proceeding to actual page >> migration. >> >> One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTa

Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-03-28 Thread Michael Ellerman
Alexey Kardashevskiy writes: > The CMA pages migration code does not support compound pages at > the moment so it performs few tests before proceeding to actual page > migration. > > One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTail()) as > it should be called on head pages. Since

[PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-03-27 Thread Alexey Kardashevskiy
The CMA pages migration code does not support compound pages at the moment so it performs few tests before proceeding to actual page migration. One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTail()) as it should be called on head pages. Since we also test for PageCompound(), and it co