From: Keir Fraser Subject: Re: Question regarding SLAB corruption Date: Mon, 09 Jul 2007 18:21:24 +0100 Message-ID: References: <20070709171103.GO3885@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070709171103.GO3885@ics.muni.cz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lukas Hejtmanek Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 9/7/07 18:11, "Lukas Hejtmanek" wrote: > Well, it looks like that __sync_single is called on the first page that has > been allocated in the order 6 batch. So, are you saying that this is something > incorrect? > > Because >0 orders do not pass through map_single(), if I understand correctly. 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? -- Keir