[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] grant table interface addition?


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Thu, 30 Oct 2008 15:58:01 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 30 Oct 2008 08:58:46 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ack6qEj5h87sWqabEd23kwAX8io7RQ==
  • Thread-topic: [Xen-devel] grant table interface addition?

On 30/10/08 15:53, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 30.10.08 15:15 >>>
>> On 30/10/08 14:06, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>>> As to PAGE_IO, wouldn't it be appropriate to set this flag on pte-s created
>>> with GNTMAP_device_map? Or is the name misleading me? I'm perhaps
>>> confused by the fact that the use of this flag is not tied to granting iomem
>>> pages...
>> 
>> The idea was that this would grant-map pages into an iommu. Really it's not
>> actually been used, but GNTMAP_device_map doesn't cause mappings to appear
>> in host page tables.
> 
> It actually is being used in Solarflare's acceleration backend - what you say
> makes me think this could be wrong then.

I suppose it's useful if you only want the machine address of the granted
page, and don't care about getting a host mapping.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.