Re: [PATCH] mm/hugetlb: use pmd_page() in follow_huge_pmd()

2015-04-23 Thread Jiri Slaby
On 04/10/2015, 10:38 PM, Andrew Morton wrote: > hm. I think I'll make it > > Fixes: 61f77eda "mm/hugetlb: reduce arch dependent code around follow_huge_*" +1. This is the best tag to work with. thanks, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH] mm/hugetlb: use pmd_page() in follow_huge_pmd()

2015-04-10 Thread Andrew Morton
On Fri, 10 Apr 2015 10:08:49 +0200 Gerald Schaefer wrote: > On Thu, 9 Apr 2015 12:41:47 -0700 (PDT) > David Rientjes wrote: > > > On Thu, 9 Apr 2015, Gerald Schaefer wrote: > > > > > commit 61f77eda "mm/hugetlb: reduce arch dependent code around > > > follow_huge_*" broke follow_huge_pmd() on

Re: [PATCH] mm/hugetlb: use pmd_page() in follow_huge_pmd()

2015-04-09 Thread David Rientjes
On Thu, 9 Apr 2015, Gerald Schaefer wrote: > commit 61f77eda "mm/hugetlb: reduce arch dependent code around follow_huge_*" > broke follow_huge_pmd() on s390, where pmd and pte layout differ and using > pte_page() on a huge pmd will return wrong results. Using pmd_page() instead > fixes this. > >

[PATCH] mm/hugetlb: use pmd_page() in follow_huge_pmd()

2015-04-09 Thread Gerald Schaefer
commit 61f77eda "mm/hugetlb: reduce arch dependent code around follow_huge_*" broke follow_huge_pmd() on s390, where pmd and pte layout differ and using pte_page() on a huge pmd will return wrong results. Using pmd_page() instead fixes this. All architectures that were touched by commit 61f77eda h