[<prev] [next>] [day] [month] [year] [list]
Message-id: <200801291115.32050.yinghai.lu@sun.com>
Date: Tue, 29 Jan 2008 11:15:31 -0800
From: Yinghai Lu <Yinghai.Lu@....COM>
To: Ingo Molnar <mingo@...e.hu>
Cc: Andi Kleen <ak@...e.de>, Christoph Lameter <clameter@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/4] x86_64: Use early reservation for early node data
From: Andi Kleen <ak@...e.de>
[PATCH 3/4] x86_64: Use early reservation for early node data
Signed-off-by: Andi Kleen <ak@...e.de>
Signed-off-by: Yinghai Lu <yinghai.lu@....com>
===================================================================
--- 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists