[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Question regarding SLAB corruption


  • To: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Mon, 09 Jul 2007 18:21:24 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 09 Jul 2007 10:19:27 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcfCTZMg0er4CC5AEdyVxQAX8io7RQ==
  • Thread-topic: [Xen-devel] Question regarding SLAB corruption

On 9/7/07 18:11, "Lukas Hejtmanek" <xhejtman@xxxxxxxxxxx> 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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.