public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: libc-ports@sourceware.org
Subject: Re: bits/mman.h updates for Linux 3.4
Date: Thu, 24 May 2012 18:00:00 -0000	[thread overview]
Message-ID: <4FBE7735.6060807@twiddle.net> (raw)
In-Reply-To: <4FBE74E0.2030102@twiddle.net>

[-- Attachment #1: Type: text/plain, Size: 9 bytes --]

Bah.

r~

[-- Attachment #2: z --]
[-- Type: text/plain, Size: 918 bytes --]

        * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MADV_HUGEPAGE): New.
        (MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): New.


diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 6635bd4..419cc5c 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
 

  reply	other threads:[~2012-05-24 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 10:25 Joseph S. Myers
2012-05-23 12:21 ` Chris Metcalf
2012-05-24 17:50 ` Richard Henderson
2012-05-24 18:00   ` Richard Henderson [this message]
2012-05-25  0:23 ` [PATCH] ia64: mman.h: define MADV_DO{,NT}DUMP Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FBE7735.6060807@twiddle.net \
    --to=rth@twiddle.net \
    --cc=libc-ports@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).