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]

[Xen-devel] Re: [ofa-general] Re: mthca use of dma_sync_single is bogus

To: Roland Dreier <rdreier@xxxxxxxxx>
Subject: [Xen-devel] Re: [ofa-general] Re: mthca use of dma_sync_single is bogus
From: "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx>
Date: 2007年7月18日 16:36:31 +0300
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>, Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx>, general@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年7月24日 08:55:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <adabqek9i2g.fsf@xxxxxxxxx>
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>
References: <adalkdpxopo.fsf@xxxxxxxxx> <20070709213913.GB20052@xxxxxxxxxxxxxx> <adamyy4vjo9.fsf@xxxxxxxxx> <20070710071547.GA3814@xxxxxxxxxxxxxx> <adabqekuvde.fsf@xxxxxxxxx> <20070710171142.GC11320@xxxxxxxxxxxxxx> <ada3azwb076.fsf@xxxxxxxxx> <20070710183006.GE11320@xxxxxxxxxxxxxx> <adabqek9i2g.fsf@xxxxxxxxx>
Reply-to: "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
> Quoting Roland Dreier <rdreier@xxxxxxxxx>:
> Subject: Re: [ofa-general] Re: mthca use of dma_sync_single is bogus
>
> > Hmm. This means there's no way to sync a range within
> > mapping created with map_sg?
>
> It doesn't seem that there is one right now at least.
>
> > > It actually doesn't look too bad to replace our use of pci_map_sg()
> > > with dma_map_single(), at least at first glance. I'll try to write a
> > > patch later.
> > 
> > Well, the reason map_sg is there is presumably because on some
> > architectures it's worth it to try and make the region contigious in DMA 
> space.
> > But I agree this seems the lesser evil at this point ...
>
> Given that we're already trying to allocate big chunks of physically
> contiguous memory, I think that any virtual merging we get is likely
> to be of very small benefit.
>
> It is kind of a shame to give this up though.
Did we reach any conclusion? Are you switching to map_single?
-- 
MST
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] SoftIce on HVM , Mats Petersson
Next by Date: [Xen-devel] Re: [ofa-general] Re: mthca use of dma_sync_single is bogus , Roland Dreier
Previous by Thread: [Xen-devel] Re: [ofa-general] Re: mthca use of dma_sync_single is bogus , Roland Dreier
Next by Thread: [Xen-devel] Re: [ofa-general] Re: mthca use of dma_sync_single is bogus , Roland Dreier
Indexes: [Date] [Thread] [Top] [All Lists]

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

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