Re: PATCH] x86_64: make bootmap_start page align v4

From: Ingo Molnar
Date: Thu Jan 31 2008 - 08:08:01 EST



* Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:

> [PATCH] x86_64: make bootmap_start page align v3
>
> boot oops when system get 64g or 128 installed

> +++ linux-2.6/arch/x86/mm/numa_64.c
> @@ -224,6 +224,14 @@ void __init setup_node_bootmem(int nodei
> }
> bootmap_start = __pa(bootmap);
>
> + /*
> + * when you have 64g or 128g ram, bootmap will be pushed after bss
> + * section, the bootmap we get from early_node_mem via find_e820_area
> + * is not page aligned, we need to round it up to make sure bootmap
> + * is not overlapped with bss section
> + */
> + bootmap_start = round_up(bootmap_start, PAGE_SIZE);
> +

thanks, applied.

Ingo
--
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/