From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joanna Rutkowska Subject: Re: The mfn of the frame, that holds a mlock-ed PV domU usermode page, can change Date: Mon, 12 Apr 2010 22:21:54 +0200 Message-ID: <4BC380E2.8060605@invisiblethingslab.com> References: <20100412185454.GC3671@emperor2.itldev.org> <4BC37C32.1060805@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1928692705==" Return-path: In-Reply-To: <4BC37C32.1060805@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Rafal Wojtczuk , qubes-devel@googlegroups.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1928692705== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig634CA677F881E6EF23DC5F59" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig634CA677F881E6EF23DC5F59 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2010 10:01 PM, Jeremy Fitzhardinge wrote: >=20 > Why is it necessary to map usermode pages? It just seems like asking > for trouble. Why not make it so that the domU X server gets the memory= > from the kernel (via some kind of driver), and then map that through to= > dom0? Because we want to avoid modifying Xorg sources -- it normally allocates its composition buffers using malloc, and if we wanted to make it using some kernel allocated memory (by our custom driver) we would need to patch the Xorg, which we obviously wanted to avoid... joanna. ps. Copied this to qubes-devel as well. --------------enig634CA677F881E6EF23DC5F59 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkvDgOIACgkQORdkotfEW85wtACeKsEITnIjCqibCf7oLgj4dTp5 RxAAn0J4QK0T7xGIjdLRksG+Xlf5xcGB =Au+P -----END PGP SIGNATURE----- --------------enig634CA677F881E6EF23DC5F59-- --===============1928692705== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1928692705==--