Re: [PATCH] x86_64: fix overlap between pagetable with bss section

From: Yinghai Lu
Date: Tue Jan 29 2008 - 12:46:24 EST


On Tuesday 29 January 2008 09:42:43 am Ingo Molnar wrote:
>
> * Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:
>
> > [PATCH] x86_64: fix overlap between pagetable with bss section
> >
> > one early crash on one 8 node 256g machine
>
> > +++ b/arch/x86/mm/init_64.c
> > @@ -358,6 +358,8 @@ static void __init find_early_table_space(unsigned long end)
> > if (table_start == -1UL)
> > panic("Cannot find space for the kernel page tables");
> >
> > + /* need to round it up to avoid overlap less one page */
> > + table_start = round_up(table_start, PAGE_SIZE);
> > table_start >>= PAGE_SHIFT;
> > table_end = table_start;
>
> thanks, applied.
>
> Ingo
>

can you use v2 instead? v2 have more comments.

Thanks

Yinghai Lu
--
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/