From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Joanna Rutkowska <joanna@invisiblethingslab.com>
Cc: xen-devel@lists.xensource.com,
Rafal Wojtczuk <rafal@invisiblethingslab.com>,
qubes-devel@googlegroups.com
Subject: Re: The mfn of the frame, that holds a mlock-ed PV domU usermode page, can change
Date: Mon, 12 Apr 2010 14:26:27 -0700 [thread overview]
Message-ID: <4BC39003.9090301@goop.org> (raw)
In-Reply-To: <4BC38E62.2080703@invisiblethingslab.com>
On 04/12/2010 02:19 PM, Joanna Rutkowska wrote:
> Right, that's for the "ring" page, which we use to implement a ring
> buffer, and we then pass mfns of the actual Xorg's composition buffers
> over this ring buffer to Dom0.
>
> Interestingly, I have never seen a garbage in any of the composition
> buffers (which are directly displayed by our appviewers, so it would be
> immediately visible), just like if only the mfn for the "ring" page
> could be modified, but the composition buffer's mfn were somehow pinned...
>
> This might suggest that the memory used by the composition buffers
> (which are in usermode) is somehow locked?
>
Worth looking into.
I'm not at all familiar with how X manages composition buffers, but it
seems to me that in normal use, one would want to be able to either
allocate that buffer in texture memory (so it can be used as a texture
source), or at least copy updates into texture memory. Couldn't you
hook into that transfer to the composition hardware (ie, dom0)?
J
next prev parent reply other threads:[~2010-04-12 21:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-12 18:54 The mfn of the frame, that holds a mlock-ed PV domU usermode page, can change Rafal Wojtczuk
2010-04-12 20:01 ` Jeremy Fitzhardinge
2010-04-12 20:21 ` Joanna Rutkowska
2010-04-12 20:39 ` Jeremy Fitzhardinge
2010-04-12 21:19 ` Joanna Rutkowska
2010-04-12 21:26 ` Jeremy Fitzhardinge [this message]
2010-04-12 21:36 ` Joanna Rutkowska
2010-04-19 11:25 ` Rafal Wojtczuk
2010-04-19 16:48 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BC39003.9090301@goop.org \
--to=jeremy@goop.org \
--cc=joanna@invisiblethingslab.com \
--cc=qubes-devel@googlegroups.com \
--cc=rafal@invisiblethingslab.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.