public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <Yinghai.Lu@Sun.COM>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86_64: fix overlap between pagetable with bss section
Date: Tue, 29 Jan 2008 18:42:43 +0100	[thread overview]
Message-ID: <20080129174242.GA26562@elte.hu> (raw)
In-Reply-To: <200801281844.36940.yinghai.lu@sun.com>


* Yinghai Lu <Yinghai.Lu@Sun.COM> 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

  parent reply	other threads:[~2008-01-29 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  2:44 [PATCH] x86_64: fix overlap between pagetable with bss section Yinghai Lu
2008-01-29  4:05 ` [PATCH] x86_64: fix overlap between pagetable with bss section v2 Yinghai Lu
2008-01-29 17:42 ` Ingo Molnar [this message]
2008-01-29 18:03   ` [PATCH] x86_64: fix overlap between pagetable with bss section Yinghai Lu
2008-01-29 17:47     ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080129174242.GA26562@elte.hu \
    --to=mingo@elte.hu \
    --cc=Yinghai.Lu@Sun.COM \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox