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

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

  • To: "Scott Parish" <srparish@xxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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 ]


Xen-devel mailing list



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