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

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

To: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>
Subject: [Xen-devel] Re: mthca use of dma_sync_single is bogus
From: Roland Dreier <rdreier@xxxxxxxxx>
Date: Tue, 10 Jul 2007 11:06:29 -0700
Authentication-results: sj-dkim-2; header.From=rdreier@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxxxxxx>, general@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Jul 2007 05:01:00 -0700
Dkim-signature: v=0.5; a=rsa-sha256; q=dns/txt; l=266; t=1184090791; x=1184954791; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rdreier@xxxxxxxxx; z=From:=20Roland=20Dreier=20<rdreier@xxxxxxxxx> |Subject:=20Re=3A=20mthca=20use=20of=20dma_sync_single=20is=20bogus |Sender:=20; bh=YF7GICmJYhr+Hb7Z2C9PDGZo9xe8T+Uu1B0hq5emPFM=; b=INEd4HYpsb4P9fd5PtIew3sX6AvtOavyk46LAN7fBUPSI69AXzxbkqb1TjiT+TUS+ty5GiFQ Nl8xDZnO4edxhUp4prMF/Gi98egcY1Y0v2JJ0Eqk20E01Zrr5PEAwB7d;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070710141409.GH3885@xxxxxxxxxxx> (Lukas Hejtmanek's message of "Tue, 10 Jul 2007 16:14:09 +0200")
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> <20070710141409.GH3885@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)
 > And what about the attached patch to mthca_memfree? It changes alloc_pages 
 > for
 > pci_alloc_consistent. Using it, I can enable FMR and the driver runs fine.

As Michael said, this uses a lot of consistent memory.  Probably too
much on some systems.

 - R.

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