From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id 82BDB6B0055 for ; Wed, 12 Aug 2009 05:08:18 -0400 (EDT) Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n7C9C85d016294 for ; Wed, 12 Aug 2009 05:12:08 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n7C98EA1225438 for ; Wed, 12 Aug 2009 05:08:14 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n7C98ESP011939 for ; Wed, 12 Aug 2009 05:08:14 -0400 Date: Wed, 12 Aug 2009 10:08:11 +0100 From: Eric B Munson Subject: Re: [PATCH 2/3] Add MAP_LARGEPAGE for mmaping pseudo-anonymous huge page regions Message-ID: <20090812090811.GA5404@us.ibm.com> References: <2154e5ac91c7acd5505c5fc6c55665980cbc1bf8.1249999949.git.ebmunson@us.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: mtk.manpages@gmail.com Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-man@vger.kernel.org List-ID: --AhhlLboLdkugWU4S Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 12 Aug 2009, Michael Kerrisk wrote: > Eric, >=20 > On Wed, Aug 12, 2009 at 12:13 AM, Eric B Munson wrot= e: > > 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. =A0This > > is accomplished by using a file on the internal vfsmount. =A0MAP_LARGEP= AGE > > is a modifier of MAP_ANONYMOUS and so must be specified with it. =A0The > > region will behave the same as a MAP_ANONYMOUS region using small pages. >=20 > 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)? >=20 > Cheers, >=20 > Michael >=20 > --=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/ >=20 I have no particular attachment to MAP_LARGEPAGE, I will make this chage fo= r V2. --=20 Eric B Munson IBM Linux Technology Center ebmunson@us.ibm.com --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqChnsACgkQsnv9E83jkzoGOwCgupx9EC5bYI7GrnwhMH8tcpVW sh4AoK6AAeN4exv9gK+V7d5Qu8+/TBeK =1Il2 -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- -- 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: email@kvack.org