alpha: Update bits/mman.h.

This commit is contained in:
Richard Henderson 2012-05-24 08:59:42 -07:00
parent df7fe5c7ef
commit 18c2f1c075
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-05-24 Richard Henderson <rth@twiddle.net>
* sysdeps/unix/sysv/linux/alpha/bits/mman.h (MADV_HUGEPAGE): New.
(MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): New.
2012-05-20 Richard Henderson <rth@twiddle.net> 2012-05-20 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/add_n.S: Rename from add_n.s. * sysdeps/alpha/add_n.S: Rename from add_n.s.

View File

@ -102,6 +102,10 @@
# define MADV_DOFORK 11 /* Do inherit across fork. */ # define MADV_DOFORK 11 /* Do inherit across fork. */
# define MADV_MERGEABLE 12 /* KSM may merge identical pages. */ # define MADV_MERGEABLE 12 /* KSM may merge identical pages. */
# define MADV_UNMERGEABLE 13 /* KSM may not 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_DONTDUMP 16 /* Exclude from the core dump. */
# define MADV_DODUMP 17 /* Clear MADV_DONTDUMP. */
# define MADV_HWPOISON 100 /* Poison a page for testing. */ # define MADV_HWPOISON 100 /* Poison a page for testing. */
#endif #endif