public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yinghai Lu <Yinghai.Lu@Sun.COM>
To: Ingo Molnar <mingo@elte.hu>
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 10:03:14 -0800	[thread overview]
Message-ID: <200801291003.14741.yinghai.lu@sun.com> (raw)
In-Reply-To: <20080129174242.GA26562@elte.hu>

On Tuesday 29 January 2008 09:42:43 am Ingo Molnar wrote:
> 
> * 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
> 

can you use v2 instead? v2 have more comments.

Thanks

Yinghai Lu

  reply	other threads:[~2008-01-29 17:46 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 ` [PATCH] x86_64: fix overlap between pagetable with bss section Ingo Molnar
2008-01-29 18:03   ` Yinghai Lu [this message]
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=200801291003.14741.yinghai.lu@sun.com \
    --to=yinghai.lu@sun.com \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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