This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing MAP_HUGETLB flag from glibc headers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]