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

Re: [Xen-devel] [RFC PATCH] page_alloc: use first half of higher order chunks when halving



>>> On 13.04.14 at 23:32, <tim@xxxxxxx> wrote:
>  (c) If for some reason the current hypercall API is not sufficient
>      for dom0 to get what it wants, we should consider adding some new
>      operation/flag/mode somewhere.  But since AFAIK there's already
>      another path in linux that allocates contiguous DMA buffers
>      for device drivers, presumably this isn't the case.

And it should be kept in mind that requesting contiguous memory
shouldn't be done at will, as it may end up exhausting the portion
of memory intended for DMA-style allocations (SWIOTLB / DMA-
coherent allocations in Linux). I.e. neither Dom0 nor DomU should
be trying to populate large parts of their memory with contiguous
allocation requests to the hypervisor. They may, if they so desire,
go and re-arrange their P2M mapping (solely based on what they
got handed by doing order-0 allocations).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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