|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: [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 <=
|
|
|
|
|