Re: [PATCH 0/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-12 Thread Gerald Schaefer
On Wed, 13 Mar 2013 04:00:12 +0900 Paul Mundt wrote: > On Tue, Mar 12, 2013 at 07:48:25PM +0100, Gerald Schaefer wrote: > > This patch introduces those huge_pte_xxx functions and their > > implementation on all architectures supporting hugetlbfs. This change > > will be a no-op for all architectu

Re: [PATCH 0/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-12 Thread Paul Mundt
On Tue, Mar 12, 2013 at 07:48:25PM +0100, Gerald Schaefer wrote: > This patch introduces those huge_pte_xxx functions and their > implementation on all architectures supporting hugetlbfs. This change > will be a no-op for all architectures other than s390. > .. > arch/ia64/include/asm/hugetlb.h

[PATCH 0/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-12 Thread Gerald Schaefer
Using pte_t and pte_xxx functions in mm/hugetlbfs.c for "huge ptes" has always been confusing and error-prone on architectures that have a different layout for the pte/pmd/... level entries. That was the reason for the individual arch header files in /include/asm/hugetlb.h containing implementation