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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] TLB flushing in blktap kernel driver?

To: "Stephen C. Tweedie" <sct@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] TLB flushing in blktap kernel driver?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 27 Sep 2006 14:30:04 +0100
Cc: Andrew Warfield <andrew.warfield@xxxxxxxxxxxx>, Julian Chesterfield <jac90@xxxxxxxxx>
Delivery-date: Wed, 27 Sep 2006 06:29:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1159363026.6276.4.camel@xxxxxxxxxxxxxxxxxxxxx>
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: AcbiOQpFSKDiMk4sEdunpAAX8io7RQ==
Thread-topic: [Xen-devel] TLB flushing in blktap kernel driver?
User-agent: Microsoft-Entourage/11.2.5.060620
> However, I can't understand right now why we need the tlb flush here.
> If we're doing any grant table operations between dom0 and domU, then
> the HV should be doing the tlb flushes for us, shouldn't it?  And mere
> SMP synchronisation on a ring buffer requires a physical memory barrier,
> not a TLB synchronisation (and RING_PUSH_REQUESTS already does a wmb.)

Grant unmapping certainly guarantees to flush TLB entries.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>