* [PATCH] x86: remove all active before register them again after trimming - 64bit
@ 2008-06-03 8:43 Yinghai Lu
2008-06-10 9:51 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Yinghai Lu @ 2008-06-03 8:43 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Andrew Morton
Cc: linux-kernel@vger.kernel.org
so keep the early_node_map all right.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
--- a/arch/x86/kernel/setup_64.c 2008-06-02 23:58:32.000000000 -0700
+++ b/arch/x86/kernel/setup_64.c 2008-06-02 23:59:52.000000000 -0700
@@ -382,6 +382,7 @@ void __init setup_arch(char **cmdline_p)
/* update e820 for memory not covered by WB MTRRs */
mtrr_bp_init();
if (mtrr_trim_uncached_memory(end_pfn)) {
+ remove_all_active_ranges();
e820_register_active_regions(0, 0, -1UL);
end_pfn = e820_end_of_ram();
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86: remove all active before register them again after trimming - 64bit
2008-06-03 8:43 [PATCH] x86: remove all active before register them again after trimming - 64bit Yinghai Lu
@ 2008-06-10 9:51 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-06-10 9:51 UTC (permalink / raw)
To: Yinghai Lu
Cc: Thomas Gleixner, H. Peter Anvin, Andrew Morton,
linux-kernel@vger.kernel.org, the arch/x86 maintainers
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> so keep the early_node_map all right.
applied to tip/x86/mpparse, thanks.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-10 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 8:43 [PATCH] x86: remove all active before register them again after trimming - 64bit Yinghai Lu
2008-06-10 9:51 ` Ingo Molnar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.