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: "Lukas Hejtmanek" <xhejtman@xxxxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Question regarding SLAB corruption
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 9 Jul 2007 16:02:38 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 Jul 2007 01:00:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070709073804.GZ3885@xxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfB/A7nc3tVgqslTSe4hb73MD1iagAA0Msg
Thread-topic: [Xen-devel] Question regarding SLAB corruption
>From: Lukas Hejtmanek
>Sent: 2007年7月9日 15:38
>
>On Sun, Jul 08, 2007 at 11:11:58AM +0100, Keir Fraser wrote:
>> DomU sets up its own DMAs. The BARs do not come into it (except
>that they
>> will indicate where device registers are, and that's how the DMA is
>> programmed).
>
>One of maintainers of IB driver suggested a theory. What is the way that
>Xen
>allocates memory? Are there guarantees about allocation of physical
>contiguous
>memory? E.g., if I request alloc_pages(GPF_KERNEL, 6) - (256kB), are
>these
>pages physically contiguous? Or are these pages guest contiguous
>only?
>

Alloc_pages doesn't ensure you physically contiguous. But you can if 
turning to standard DMA allocation interface.

Thanks,
Kevin

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