WARNING - OLD ARCHIVES

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/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Allow programatic iomem permissions

To: Kieran Mansley <kmansley@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Allow programatic iomem permissions
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: 2007年7月13日 13:29:58 +0100
Cc: derek.murray@xxxxxxxxxxxx, xense-devel@xxxxxxxxxxxxxxxxxxx, gscoker@xxxxxxxxxxxxxx
Delivery-date: 2007年7月13日 05:27:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1184324719.4144.10.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfFSYZPxSJiODE8Edy48QAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Allow programatic iomem permissions
User-agent: Microsoft-Entourage/11.3.3.061214
On 13/7/07 12:05, "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx> wrote:
> Any thoughts on the above?
>
> I'm happy to do some work to rectify this situation but don't want to
> expend effort on something that won't get accepted. Any background on
> the reasons for the restriction (i.e. what the TLB flushing issues are)
> would also be of help.
The issue is that the granter is informed that the grant is released before
stale grantee TLB entries are flushed. If the grantee is multi-vcpu then he
could theoretically still access a granted page via a stale TLB entry after
the granter has recycled the page. The window is extremely tiny though! The
correct fix is to reorder the unmap operation to be unmap-list-of-grants
then TLB-flush then update-grant-entries-to-indicate-release. Then the whole
problem disappears.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] [API] XendConfig does not create VDI , Pascal Bouchareine
Next by Date: Re: [Xen-devel] Re: [Xen-changelog] [linux-2.6.18-xen] Add "#ifdefARCH_HAS_DEV_MEM" to archtecture specific file_operations. , Keir Fraser
Previous by Thread: Re: [Xen-devel] [PATCH] Allow programatic iomem permissions , Kieran Mansley
Next by Thread: Re: [Xen-devel] [PATCH] Allow programatic iomem permissions , Kieran Mansley
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /