From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: Question regarding SLAB corruption Date: Mon, 09 Jul 2007 12:21:11 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Keir Fraser's message of "Mon, 09 Jul 2007 18:21:24 +0100") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Lukas Hejtmanek , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > 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.