]> sourceware.org Git - glibc.git/commitdiff
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 25 Jan 2011 20:58:24 +0000 (20:58 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 25 Jan 2011 20:58:24 +0000 (20:58 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/mman.h

index 16ca191ad4297660387e4ba4f58657a0523bbc64..0c2285f1377e932a987f56a6a273435a2354c822 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
+       MADV_NOHUGEPAGE): Define.
+
 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
index f639e0464fa05986bc97a98ebcfbd7459503f3d2..097cb8f15f00ccf5d3bcec7a645743a6c7549c4d 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/MIPS version.
-   Copyright (C) 1997, 2000, 2003, 2004, 2005, 2006, 2009
+   Copyright (C) 1997, 2000, 2003, 2004, 2005, 2006, 2009, 2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -96,6 +96,8 @@
 # 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_NOHUGEPAGE  15   /* Not worth backing with hugepages.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif
 
This page took 0.051054 seconds and 5 git commands to generate.