From: David Vrabel <david.vrabel@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "Xen-devel@lists.xen.org" <Xen-devel@lists.xen.org>
Subject: Re: [Hackathon] Linux session notes
Date: Wed, 4 Jun 2014 12:42:04 +0100 [thread overview]
Message-ID: <538F060C.8010306@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1406041235110.2526@kaball.uk.xensource.com>
On 04/06/14 12:37, Stefano Stabellini wrote:
> On Wed, 4 Jun 2014, David Vrabel wrote:
>> On 04/06/14 12:11, Stefano Stabellini wrote:
>>> On Mon, 2 Jun 2014, David Vrabel wrote:
>>>> - Fixing m2p override. Mapping the same MFN (by two grant refs or the
>>>> same) two or more times means get_user_pages() cannot find the right
>>>> page() since m2p override is many-to-one.
>>>
>>> Did anybody proposed any ways to fix this issue?
>>> We have the same problem on ARM in p2m.c and I cannot see any way to
>>> solve the issue without slowing down the mfn to pfn conversion too much.
>>
>> I was planning to add an array of pages to the vma and use this in
>> get_user_pages() (instead of the page table walk).
>
> That is a bit too concise.
> Does that mean you are not going to fix the mfn to pfn conversion
> problem and instead change the common code implementation of
> get_user_pages?
Yes. It's impossible to fix mfn_to_pfn() for foreign MFNs.
David
next prev parent reply other threads:[~2014-06-04 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-02 15:36 [Hackathon] Linux session notes David Vrabel
2014-06-02 15:56 ` Jan Beulich
2014-06-04 11:11 ` Stefano Stabellini
2014-06-04 11:29 ` David Vrabel
2014-06-04 11:37 ` Stefano Stabellini
2014-06-04 11:42 ` David Vrabel [this message]
2014-06-04 11:45 ` Ian Campbell
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=538F060C.8010306@citrix.com \
--to=david.vrabel@citrix.com \
--cc=Xen-devel@lists.xen.org \
--cc=stefano.stabellini@eu.citrix.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.