All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric B Munson <ebmunson@us.ibm.com>
To: mtk.manpages@gmail.com
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	linux-man@vger.kernel.org
Subject: Re: [PATCH 2/3] Add MAP_LARGEPAGE for mmaping pseudo-anonymous huge page regions
Date: Wed, 12 Aug 2009 10:08:11 +0100	[thread overview]
Message-ID: <20090812090811.GA5404@us.ibm.com> (raw)
In-Reply-To: <cfd18e0f0908112207y186d0aav6e0e55ce070778cf@mail.gmail.com>

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

On Wed, 12 Aug 2009, Michael Kerrisk wrote:

> Eric,
> 
> On Wed, Aug 12, 2009 at 12:13 AM, Eric B Munson<ebmunson@us.ibm.com> wrote:
> > This patch adds a flag for mmap that will be used to request a huge
> > page region that will look like anonymous memory to user space.  This
> > is accomplished by using a file on the internal vfsmount.  MAP_LARGEPAGE
> > is a modifier of MAP_ANONYMOUS and so must be specified with it.  The
> > region will behave the same as a MAP_ANONYMOUS region using small pages.
> 
> Does this flag provide functionality analogous to shmget(SHM_HUGETLB)?
> If so, would iot not make sense to name it similarly (i.e.,
> MAP_HUGETLB)?
> 
> Cheers,
> 
> Michael
> 
> -- 
> Michael Kerrisk
> Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
> Watch my Linux system programming book progress to publication!
> http://blog.man7.org/
> 

I have no particular attachment to MAP_LARGEPAGE, I will make this chage for V2.

-- 
Eric B Munson
IBM Linux Technology Center
ebmunson@us.ibm.com


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-08-12  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-11 22:13 [PATCH 0/3] Add pseudo-anonymous huge page mappings Eric B Munson
2009-08-11 22:13 ` [PATCH 1/3] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount Eric B Munson
2009-08-11 22:13 ` [PATCH 2/3] Add MAP_LARGEPAGE for mmaping pseudo-anonymous huge page regions Eric B Munson
     [not found]   ` <a45eb555ca7d9e23e5eb051e27f757ae70a6b0c5.1249999949.git.ebmunson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-08-12  5:07     ` Michael Kerrisk
2009-08-12  5:07       ` Michael Kerrisk
2009-08-12  5:07       ` Michael Kerrisk
2009-08-12  9:08       ` Eric B Munson [this message]
2009-08-12  5:45   ` Pekka Enberg
2009-08-12  5:45     ` Pekka Enberg
2009-08-11 22:13 ` [PATCH 3/3] Add MAP_LARGEPAGE example to vm/hugetlbpage.txt Eric B Munson

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=20090812090811.GA5404@us.ibm.com \
    --to=ebmunson@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mtk.manpages@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.