Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764187AbYA2RnQ (ORCPT ); Tue, 29 Jan 2008 12:43:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753582AbYA2Rm5 (ORCPT ); Tue, 29 Jan 2008 12:42:57 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:59686 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753433AbYA2Rm4 (ORCPT ); Tue, 29 Jan 2008 12:42:56 -0500 Date: Tue, 29 Jan 2008 18:42:43 +0100 From: Ingo Molnar To: Yinghai Lu Cc: Andrew Morton , Linux Kernel Mailing List , Thomas Gleixner , "H. Peter Anvin" Subject: Re: [PATCH] x86_64: fix overlap between pagetable with bss section Message-ID: <20080129174242.GA26562@elte.hu> References: <200801281844.36940.yinghai.lu@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801281844.36940.yinghai.lu@sun.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 25 * Yinghai Lu 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/