[PATCH 3/4] x86_64: Use early reservation for early node data

From: Yinghai Lu
Date: Tue Jan 29 2008 - 14:42:43 EST


From: Andi Kleen <ak@xxxxxxx>

[PATCH 3/4] x86_64: Use early reservation for early node data

Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>

===================================================================
--- linux.orig/arch/x86/mm/numa_64.c
+++ linux/arch/x86/mm/numa_64.c
@@ -175,6 +175,7 @@
* with bss section
*/
mem = round_up(mem, PAGE_SIZE);
+ reserve_early(mem, mem + size);
return __va(mem);
}
ptr = __alloc_bootmem_nopanic(size,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/