From: Lei Xia Date: Thu, 7 Apr 2011 22:31:06 +0000 (-0500) Subject: Force Linux backend to allocate memory pages from lower address X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f0062ca2730a58b9f9cca67303c47c573cbcf76;p=palacios.releases.git Force Linux backend to allocate memory pages from lower address --- diff --git a/linux_module/palacios-mm.c b/linux_module/palacios-mm.c index 1d750db..a62b55a 100644 --- a/linux_module/palacios-mm.c +++ b/linux_module/palacios-mm.c @@ -103,7 +103,7 @@ uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment) { struct page * pgs = NULL; int order = get_order(num_pages * PAGE_SIZE); - pgs = alloc_pages(GFP_KERNEL, order); + pgs = alloc_pages(GFP_DMA, order); WARN(!pgs, "Could not allocate pages\n");