From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4612BFBA.6050101@redhat.com> Date: Tue, 03 Apr 2007 13:57:30 -0700 From: Ulrich Drepper MIME-Version: 1.0 Subject: Re: missing madvise functionality References: <46128051.9000609@redhat.com> <46128CC2.9090809@redhat.com> <20070403172841.GB23689@one.firstfloor.org> <20070403125903.3e8577f4.akpm@linux-foundation.org> <4612B645.7030902@redhat.com> <20070403135154.61e1b5f3.akpm@linux-foundation.org> In-Reply-To: <20070403135154.61e1b5f3.akpm@linux-foundation.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1D8B3700AB45FB5EE6459E40" Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Andi Kleen , Rik van Riel , Linux Kernel , Jakub Jelinek , linux-mm@kvack.org, Hugh Dickins List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1D8B3700AB45FB5EE6459E40 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andrew Morton wrote: > But whatever we do, with the current MM design we need to at least take= the > mmap_sem for reading so we can descend the vma tree and locate the > pageframes. And if that locking is the main problem then none of this = is > likely to help. At least it's done only once for the madvise call and not twice as of today with mmap and mprotect both needing the semaphore. This can reduce the contention quite a bit. --=20 =E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 Castro St = =E2=9E=A7 Mountain View, CA =E2=9D=96 --------------enig1D8B3700AB45FB5EE6459E40 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGEr+62ijCOnn/RHQRAgVXAKDEQk4d22BCNnfjr1z1DLvhbvT/gACfQiVS 2yTEt7kyj8p7zwlRvm0N98M= =7yqI -----END PGP SIGNATURE----- --------------enig1D8B3700AB45FB5EE6459E40-- -- 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