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] Question regarding SLAB corruption

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question regarding SLAB corruption
From: Roland Dreier <rdreier@xxxxxxxxx>
Date: Mon, 09 Jul 2007 12:21:11 -0700
Authentication-results: sj-dkim-1; header.From=rdreier@xxxxxxxxx; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
Cc: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 10:08:26 -0700
Dkim-signature: v=0.5; a=rsa-sha256; q=dns/txt; l=508; t=1184008872; x=1184872872; c=relaxed/simple; s=sjdkim1004; 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=20[Xen-devel]=20Question=20regarding=20SLAB=20corruptio n |Sender:=20; bh=x/LPwUx953dAAqkfgCh2y6q74/EsN6iivh3aZkDeNI0=; b=s0qzudVnX+dRdtWzhR9qTgUFe35xdE+TCfZjcl5GCaMUXGf6l5ZW8oA3DSXYLl33uPqYD9Ax d/9vQnbSQftZXdG1L00RMGMaVRoPD7w36YhjhjkE5qndgsSsN79OdzuMfncDkoPPb6UgY8QkMy G5kL62BvaAzO96oBvw1Wx6O68=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2B82D24.12201%keir@xxxxxxxxxxxxx> (Keir Fraser's message of "Mon, 09 Jul 2007 18:21:24 +0100")
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: <C2B82D24.12201%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux)
 > By my understanding, the infiniband driver is doing an order-6 allocation,
 > then stuffing that multi-page region into a single element of a scatterlist.
 > It is then calling dma_map_sg(), which [on Xen] calls swiotlb_map_sg(),
 > which calls map_single() on that multi-page extent. Am I misunderstanding
 > something?

Don't know about the Xen part but you are correct about the mthca
driver part.  And as far as I know it is perfectly fine to put order>0
pages into a scatterlist...

 - R.

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