From: "Dmitry V. Levin" <ldv@altlinux.org>
To: libc-alpha@sourceware.org
Subject: Re: Add SHM_HUGETLB, SHM_NORESERVE to bits/shm.h
Date: Thu, 16 Nov 2017 21:32:00 -0000 [thread overview]
Message-ID: <20171116213234.GA21100@altlinux.org> (raw)
In-Reply-To: <alpine.DEB.2.20.1711162113380.14274@digraph.polyomino.org.uk>
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
On Thu, Nov 16, 2017 at 09:14:04PM +0000, Joseph Myers wrote:
> Linux 4.14 adds SHM_HUGETLB and SHM_NORESERVE to
> include/uapi/linux/shm.h. (These macros previously existed in the
> kernel, but in the non-UAPI header.) This patch adds them to
> bits/shm.h accordingly.
>
> Tested for x86_64, and with build-many-glibcs.py.
>
> 2017-11-16 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/unix/sysv/linux/bits/shm.h (SHM_HUGETLB): New macro.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/alpha/bits/shm.h (SHM_HUGETLB):
> Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/arm/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/generic/bits/shm.h (SHM_HUGETLB):
> Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_HUGETLB):
> Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_HUGETLB):
> Likewise.
> (SHM_NORESERVE): Likewise.
> * sysdeps/unix/sysv/linux/x86/bits/shm.h (SHM_HUGETLB): Likewise.
> (SHM_NORESERVE): Likewise.
They are already there (in __USE_MISC section).
--
ldv
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2017-11-16 21:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-16 21:14 Joseph Myers
2017-11-16 21:32 ` Dmitry V. Levin [this message]
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=20171116213234.GA21100@altlinux.org \
--to=ldv@altlinux.org \
--cc=libc-alpha@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).