1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Define MADV_HUGEPAGE.

This commit is contained in:
Ulrich Drepper
2011-01-17 18:24:59 -05:00
parent c0dafcf176
commit 32465c3ea0
8 changed files with 23 additions and 7 deletions

View 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