lkml.org 
[lkml]   [2013]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions
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 | 36 ++++++++++++++++++++++++
> arch/mips/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> arch/powerpc/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> arch/s390/include/asm/hugetlb.h | 56 +++++++++++++++++++++++++++++++++++++-
> arch/s390/include/asm/pgtable.h | 20 --------------
> arch/s390/mm/hugetlbpage.c | 2 +-
> arch/sh/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> arch/sparc/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> arch/tile/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> arch/x86/include/asm/hugetlb.h | 36 ++++++++++++++++++++++++
> mm/hugetlb.c | 23 ++++++++--------
> 11 files changed, 320 insertions(+), 33 deletions(-)
>
None of these wrappers are doing anything profound for most platforms, so
this would be a good candidate for an asm-generic/hugetlb.h (after which
s390 can continue to be special and no one else has to care).


\
 
 \ /
  Last update: 2013-03-12 20:44    [W:0.083 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site