make MEMZONE_DOM as deafult for xen_create_contiguous_region
PATCH 1/1 make MEMZONE_DOM as deafult for xen_create_contiguous_region
Otherwise, dom0 will just be eating away from MEMZONE_DMADOM for every xen_create_contiguous_region() call, with out ever giving it back. And as it stands today, there is no point in having xen_destroy_contiguous_region().
Appended patch will fix this.
Signed-off-by Suresh Siddha <[email protected]>
xen/common/dom_mem_ops.c +1 -1
@@ -158,7 +158,7 @@case MEMOP_increase_reservation: rc =alloc_dom_mem ( d, extent_list, start_extent, nr_extents, extent_order, - (address_bits_order <=32 ) ?ALLOC_DOM_DMA :0 ); + (address_bits_order ==32 ) ?ALLOC_DOM_DMA :0 );break ;case MEMOP_decrease_reservation: rc = free_dom_mem(