lkml.org 
[lkml]   [2008]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[RFC 00/13] smp: reduce stack requirements for genapic send_IPI_mask functions

[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 <travis@sgi.com>
---

--


\
 
 \ /
  Last update: 2008-09-07 01:55    [W:0.132 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site