From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Kerrisk Subject: Re: [PATCH 2/3] Add MAP_LARGEPAGE for mmaping pseudo-anonymous huge page regions Date: Wed, 12 Aug 2009 07:07:48 +0200 Message-ID: References: <2154e5ac91c7acd5505c5fc6c55665980cbc1bf8.1249999949.git.ebmunson@us.ibm.com> Reply-To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Eric B Munson Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org Eric, On Wed, Aug 12, 2009 at 12:13 AM, Eric B Munson wr= ote: > 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. =A0Th= is > is accomplished by using a file on the internal vfsmount. =A0MAP_LARG= EPAGE > is a modifier of MAP_ANONYMOUS and so must be specified with it. =A0T= he > region will behave the same as a MAP_ANONYMOUS region using small pag= es. 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 --=20 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/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html