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

[Xen-devel] RE: [PATCH] give xen dma zones

To: "Scott Parish" <srparish@xxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] give xen dma zones
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 10:42:30 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Jul 2005 09:40:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWT8G5Jjcx5sl4+Svu5WnfPwuu6KgAMB+bQ
Thread-topic: [PATCH] give xen dma zones
> Attached patch adds a DMA zone to xen, also modifies 
> xen_contig_memory() to ask for DMA pages.

I'm not sure that passing a flags field to the allocator is the best way
of doing this. Can you think of any other flags we may want?

It might be best to pass the address order down to the allocator, as to
support some devices we'll need to be able to find <2GB and even <1GB
pages. (If we ever want ISA DMA to work we'll need to support <16MB, but
that Xen currently has all that memory).

In future we'll also want to pass a NUMA node id to the alloc function.
It's probably worth having this in mind while changing the interface.

I think we need more discussion.

[Also, the patch doesn't extract the address_order correctly anyhow -- I
think you meant to >>8 ]

Ian

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] RE: [PATCH] give xen dma zones, Ian Pratt <=