Define MADV_HUGEPAGE.
authorUlrich Drepper <drepper@gmail.com>
Mon, 17 Jan 2011 23:24:59 +0000 (18:24 -0500)
committerUlrich Drepper <drepper@gmail.com>
Mon, 17 Jan 2011 23:24:59 +0000 (18:24 -0500)
ChangeLog
sysdeps/unix/sysv/linux/i386/bits/mman.h
sysdeps/unix/sysv/linux/ia64/bits/mman.h
sysdeps/unix/sysv/linux/powerpc/bits/mman.h
sysdeps/unix/sysv/linux/s390/bits/mman.h
sysdeps/unix/sysv/linux/sh/bits/mman.h
sysdeps/unix/sysv/linux/sparc/bits/mman.h
sysdeps/unix/sysv/linux/x86_64/bits/mman.h

index f583b05..1fcd70c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
 
+       * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE.
+       * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
+
        * posix/getconf.c: Update copyright year.
        * catgets/gencat.c: Likewise.
        * csu/version.c: Likewise.
index 7ac1aff..17d27e4 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/i386 version.
-   Copyright (C) 1997,2000,2003,2005,2006,2009,2010
+   Copyright (C) 1997,2000,2003,2005,2006,2009,2010,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -96,6 +96,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index 1b278c7..9bb0b40 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/ia64 version.
-   Copyright (C) 1997,1998,2000,2003,2005,2006,2009
+   Copyright (C) 1997,1998,2000,2003,2005,2006,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -95,6 +95,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index e6580f8..41a3180 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/PowerPC version.
-   Copyright (C) 1997,2000,2003,2005,2006,2008,2009
+   Copyright (C) 1997,2000,2003,2005,2006,2008,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -96,6 +96,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index daeafd4..45ceed1 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/s390 version.
-   Copyright (C) 2000-2003,2005,2006,2009 Free Software Foundation, Inc.
+   Copyright (C) 2000-2003,2005,2006,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -94,6 +94,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index aee0011..a69071d 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/SH version.
-   Copyright (C) 1997,1999,2000,2003,2005,2006,2009
+   Copyright (C) 1997,1999,2000,2003,2005,2006,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -94,6 +94,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index 71a3aa6..781c9ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/SPARC version.
-   Copyright (C) 1997,1999,2000,2003,2005,2006,2009
+   Copyright (C) 1997,1999,2000,2003,2005,2006,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -97,6 +97,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
index 6f3ad0d..ef4b3c0 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for POSIX memory map interface.  Linux/x86_64 version.
-   Copyright (C) 2001,2003,2005,2006,2009,2010 Free Software Foundation, Inc.
+   Copyright (C) 2001,2003,2005,2006,2009,2010,2011
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -96,6 +97,7 @@
 # define MADV_DOFORK     11    /* Do inherit across fork.  */
 # define MADV_MERGEABLE          12    /* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif