]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
m68k: define MADV_HUGEPAGE and MADV_NOHUGEPAGE
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 18 Jan 2011 11:20:06 +0000 (12:20 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 18 Jan 2011 11:20:06 +0000 (12:20 +0100)
ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/bits/mman.h

index feba28e20d75004112d37789a72314fe2ab4f2f3..6edab560b248e7e5a8368ee95fd09522e68b53f9 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-18  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
+       (MADV_NOHUGEPAGE): Define.
+
 2011-01-10  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
index 15727ad1ba96981e3bb98d97b66c6f83ff3d3ba7..4620213527731490956a96d8992f35a20c374085 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/m68k version.
-   Copyright (C) 1997, 2000, 2003, 2005, 2008, 2009
+   Copyright (C) 1997, 2000, 2003, 2005, 2008, 2009, 2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -94,6 +94,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