Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827AbYJ0NSA (ORCPT ); Mon, 27 Oct 2008 09:18:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752235AbYJ0NRw (ORCPT ); Mon, 27 Oct 2008 09:17:52 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:51674 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751634AbYJ0NRv (ORCPT ); Mon, 27 Oct 2008 09:17:51 -0400 Date: Mon, 27 Oct 2008 14:17:39 +0100 From: Ingo Molnar To: Cliff Wickman Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , "H. Peter Anvin" Subject: Re: [PATCH] UV: memory allocation at initialization Message-ID: <20081027131739.GE25371@elte.hu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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,DNS_FROM_SECURITYSAGE autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0054] 0.0 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 34 * Cliff Wickman wrote: > From: Cliff Wickman > > UV initialization is currently called too late to call alloc_bootmem_pages(). > The current sequence is: > > start_kernel() > mem_init() > free_all_bootmem() <--- discard of bootmem > rest_init() > kernel_init() > smp_prepare_cpus() > native_smp_prepare_cpus() > uv_system_init() <--- uses alloc_bootmem_pages() > > It should be calling kmalloc(). > > Diffed against 2.6.27 (linux-next) > > Signed-off-by: Cliff Wickman > --- > arch/x86/kernel/genx2apic_uv_x.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) applied to tip/x86/urgent, thanks Cliff! 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/