From: David Rientjes <rientjes@google.com>
To: Eric B Munson <ebmunson@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org, rdunlap@xenotime.net,
michael@ellerman.id.au, ralf@linux-mips.org, wli@holomorphy.com,
mel@csn.ul.ie, dhowells@redhat.com, arnd@arndb.de,
fengguang.wu@intel.com, shuber2@gmail.com,
hugh.dickins@tiscali.co.uk, zohar@us.ibm.com, hugh@veritas.com,
mtk.manpages@gmail.com, chris@zankel.net,
linux-man@vger.kernel.org, linux-doc@vger.kernel.org,
linux-alpha@vger.kernel.org, linux-mips@linux-mips.org,
linux-parisc@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH 1/7] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount
Date: Fri, 18 Sep 2009 13:06:59 -0700 (PDT) [thread overview]
Message-ID: <alpine.DEB.1.00.0909181306450.27556@chino.kir.corp.google.com> (raw)
In-Reply-To: <0f28cb0d89a7b83f7edf92181c5d13422f5b009c.1253276847.git.ebmunson@us.ibm.com>
On Fri, 18 Sep 2009, Eric B Munson wrote:
> There are two means of creating mappings backed by huge pages:
>
> 1. mmap() a file created on hugetlbfs
> 2. Use shm which creates a file on an internal mount which essentially
> maps it MAP_SHARED
>
> The internal mount is only used for shared mappings but there is very
> little that stops it being used for private mappings. This patch extends
> hugetlbfs_file_setup() to deal with the creation of files that will be
> mapped MAP_PRIVATE on the internal hugetlbfs mount. This extended API is
> used in a subsequent patch to implement the MAP_HUGETLB mmap() flag.
>
> Signed-off-by: Eric Munson <ebmunson@us.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2009-09-18 20:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-18 12:21 [PATCH 0/7] Add pseudo-anonymous huge page mappings V3 Eric B Munson
2009-09-18 12:21 ` [PATCH 1/7] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount Eric B Munson
2009-09-18 12:21 ` [PATCH 2/7] Add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions Eric B Munson
2009-09-18 12:21 ` [PATCH 3/7] Add MAP_HUGETLB example Eric B Munson
2009-09-18 12:21 ` [PATCH 4/7] Add MAP_HUGETLB flag to alpha mman.h Eric B Munson
2009-09-18 12:21 ` [PATCH 5/7] Add MAP_HUGETLB flag to xtensa mman.h Eric B Munson
2009-09-18 12:21 ` [PATCH 6/7] Add MAP_HUGETLB flag to parisc mman.h Eric B Munson
2009-09-18 12:21 ` [PATCH 7/7] Add MAP_HUGETLB flag to mips mman.h Eric B Munson
2009-09-18 20:08 ` [PATCH 2/7] Add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions David Rientjes
2009-09-18 12:37 ` [PATCH 1/7] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount Eric B Munson
2009-09-18 20:06 ` David Rientjes [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=alpine.DEB.1.00.0909181306450.27556@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=chris@zankel.net \
--cc=dhowells@redhat.com \
--cc=ebmunson@us.ibm.com \
--cc=fengguang.wu@intel.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=hugh@veritas.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-mm@kvack.org \
--cc=linux-parisc@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=michael@ellerman.id.au \
--cc=mtk.manpages@gmail.com \
--cc=ralf@linux-mips.org \
--cc=rdunlap@xenotime.net \
--cc=shuber2@gmail.com \
--cc=wli@holomorphy.com \
--cc=zohar@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox