From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756836AbZJ0UXV (ORCPT ); Tue, 27 Oct 2009 16:23:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756793AbZJ0UXU (ORCPT ); Tue, 27 Oct 2009 16:23:20 -0400 Received: from relay2.sgi.com ([192.48.179.30]:59396 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756787AbZJ0UXT (ORCPT ); Tue, 27 Oct 2009 16:23:19 -0400 Message-ID: <4AE756CE.2030309@sgi.com> Date: Tue, 27 Oct 2009 13:23:42 -0700 From: Mike Travis User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Cyrill Gorcunov CC: David Rientjes , Andi Kleen , Ingo Molnar , Thomas Gleixner , Andrew Morton , Jack Steiner , "H. Peter Anvin" , x86@kernel.org, Yinghai Lu , Mel Gorman , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH 3/8] SGI x86_64 UV: Limit the number of number of SRAT messages References: <20091023233743.439628000@alcatraz.americas.sgi.com> <20091023233750.702443000@alcatraz.americas.sgi.com> <87pr8ay6tc.fsf@basil.nowhere.org> <4AE710C9.2070307@sgi.com> <20091027201636.GK5893@lenovo> In-Reply-To: <20091027201636.GK5893@lenovo> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cyrill Gorcunov wrote: > [David Rientjes - Tue, Oct 27, 2009 at 12:45:00PM -0700] > ... > | On Tue, 27 Oct 2009, Mike Travis wrote: > | + > | +void __init acpi_numa_print_srat_mapping(void) > | +{ > | + DECLARE_BITMAP(apicid_map, MAX_LOCAL_APIC); > | + char apicid_list[MAX_LOCAL_APIC]; > > Hi David, I suppose 32K on stack is too much :) > (perhaps gcc will move it out of stack?) > > ... > > -- Cyrill Yeah, I missed that too on my first review. (4k seems piddling compared to 32k on the stack! ;-) I moved them both to static and will be testing it shortly: static DECLARE_BITMAP(apicid_map, MAX_LOCAL_APIC) __initdata; static char apicid_list[MAX_LOCAL_APIC] __initdata; Thanks, Mike