This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] The mfn of the frame, that holds a mlock-ed PV domU user

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] The mfn of the frame, that holds a mlock-ed PV domU usermode page, can change
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Apr 2010 22:21:54 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>, qubes-devel@xxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Apr 2010 13:21:35 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type; s=smtpout; bh=Y2AgY/4Tu7yjx7JwoXPR5uepR1s=; b=rjOI/G+Vm41x27k4UC/Jy6EfUEmcBFxMeohgW9ChC1xkgzcxAKOnGNeUN1WcghZVlsslKsHsYpb3rgdrqUPED7LCvBxj3tvDNGglpZVLn8jH+VjXu+v4YOjYc5tgPkjaR0AMt0L6ldaU/XedIoM7XWpJ9xcBpInWxDmp/SoRGic=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC37C32.1060805@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100412185454.GC3671@xxxxxxxxxxxxxxxxxxx> <4BC37C32.1060805@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 04/12/2010 10:01 PM, Jeremy Fitzhardinge wrote:
> 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...


ps. Copied this to qubes-devel as well.

Attachment: signature.asc
Description: OpenPGP digital signature

Xen-devel mailing list