[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AE756CE.2030309@sgi.com>
Date: Tue, 27 Oct 2009 13:23:42 -0700
From: Mike Travis <travis@....com>
To: Cyrill Gorcunov <gorcunov@...il.com>
CC: David Rientjes <rientjes@...gle.com>,
Andi Kleen <andi@...stfloor.org>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Jack Steiner <steiner@....com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
Yinghai Lu <yinghai@...nel.org>, Mel Gorman <mel@....ul.ie>,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [PATCH 3/8] SGI x86_64 UV: Limit the number of number of SRAT
messages
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists