This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Missing MAP_HUGETLB flag from glibc headers
- From: Petr Baudis <pasky at suse dot cz>
- To: Eric B Munson <emunson at mgebm dot net>
- Cc: libc-alpha at sourceware dot org, mel at csn dot ul dot ie
- Date: Wed, 1 Dec 2010 23:15:16 +0100
- Subject: Re: Missing MAP_HUGETLB flag from glibc headers
- References: <20101112180806.GA8661@mgebm.net><20101201210145.GC4184@mgebm.net>
On Wed, Dec 01, 2010 at 02:01:45PM -0700, Eric B Munson wrote:
> On Fri, 12 Nov 2010, Eric B Munson wrote:
> > I am working on some functionality for libhugetlbfs and I would like
> > to start using MAP_HUGETLB for access to huge pages without mounting
> > hugetlbfs. I noticed that this flag went into the kernel for 2.6.32
> > but my Ubuntu Maverick and my Fedora 13 installs do not have the flag
> > in the glibc headers. What needs to be done to get the flag added to
> > the gibc headers?
> >
> > Thanks,
> > Eric Munson
>
> I am not sure if this is the wrong list for this question, but I don't
> see MAP_HUGETLB defined in the latest git source either. What needs to
> be done to include this flag?
It is in the latest git source, and I also took it for 2.11.3:
commit cf7c9078a5acdbb435498ace92cd81009637a971
Author: Ulrich Drepper <drepper@redhat.com>
Date: Fri Nov 19 09:35:39 2010 -0500
Define MAP_HUGETLB.
--
Petr "Pasky" Baudis
The true meaning of life is to plant a tree under whose shade
you will never sit.