From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755859AbYIFXvs (ORCPT ); Sat, 6 Sep 2008 19:51:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753794AbYIFXum (ORCPT ); Sat, 6 Sep 2008 19:50:42 -0400 Received: from relay2.sgi.com ([192.48.171.30]:38030 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753029AbYIFXuj (ORCPT ); Sat, 6 Sep 2008 19:50:39 -0400 Message-Id: <20080906235036.891970000@polaris-admin.engr.sgi.com> User-Agent: quilt/0.46-1 Date: Sat, 06 Sep 2008 16:50:36 -0700 From: Mike Travis To: Ingo Molnar , Andrew Morton Cc: davej@codemonkey.org.uk, David Miller , Eric Dumazet , "Eric W. Biederman" , Jack Steiner , Jeremy Fitzhardinge , Jes Sorensen , "H. Peter Anvin" , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [RFC 00/13] smp: reduce stack requirements for genapic send_IPI_mask functions Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Note: all these changes require some more testing but I wanted to solicit comments before then, hence the "RFC" in the subject line. -thanks! Mike] * Change the genapic->send_IPI_mask function to accept cpumask_t pointer. * Add for_each_online_cpu_mask_nr to eliminate a common case of needing a temporary on-stack cpumask_t variable. * Change send_IPI_mask function in xen to use for_each_online_cpu_mask_nr(). * Add cpumask_ptr operations. * Add get_cpumask_var debug operations. * Add global allbutself PER_CPUMASK variable. * Remove as many on-stack cpumask_t variables in kernel/sched.c * Remove as many on-stack cpumask_t variables in acpi-cpufreq.c * Remove as many on-stack cpumask_t variables in io_apic.c Applies to linux-2.6.tip/master. Signed-off-by: Mike Travis --- --