From 18c2f1c0758a6ea632de323c2ffca5e04f5dc316 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 24 May 2012 08:59:42 -0700 Subject: [PATCH] alpha: Update bits/mman.h. --- ChangeLog.alpha | 5 +++++ sysdeps/unix/sysv/linux/alpha/bits/mman.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index dee153d617..f1561a6a04 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,8 @@ +2012-05-24 Richard Henderson + + * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MADV_HUGEPAGE): New. + (MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): New. + 2012-05-20 Richard Henderson * sysdeps/alpha/add_n.S: Rename from add_n.s. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h index 6635bd44e7..419cc5cbdb 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h @@ -102,6 +102,10 @@ # 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_DONTDUMP 16 /* Exclude from the core dump. */ +# define MADV_DODUMP 17 /* Clear MADV_DONTDUMP. */ # define MADV_HWPOISON 100 /* Poison a page for testing. */ #endif -- 2.43.5