tile: Define MADV_DONTDUMP and MADV_DODUMP
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 23 May 2012 12:20:12 +0000 (08:20 -0400)
ChangeLog.tile
sysdeps/unix/sysv/linux/tile/bits/mman.h

index 12030be..141d627 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-23  Chris Metcalf  <cmetcalf@tilera.com>
+
+       * sysdeps/unix/sysv/linux/tile/bits/mman.h (MADV_DONTDUMP): Define.
+       (MADV_DODUMP): Likewise.
+
 2012-05-22  Chris Metcalf  <cmetcalf@tilera.com>
 
        * sysdeps/tile/bits/libm-test-ulps: Update.
index 87c938d..8287823 100644 (file)
@@ -96,6 +96,9 @@
 # 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    /* Explicity exclude from the core dump,
+                                   overrides the coredump filter bits.  */
+# define MADV_DODUMP     17    /* Clear the MADV_DONTDUMP flag.  */
 # define MADV_HWPOISON   100   /* Poison a page for testing.  */
 #endif