diff options
| author | 2008-04-04 18:11:02 -0700 | |
|---|---|---|
| committer | 2008-04-19 19:44:59 +0200 | |
| commit | 321a8e9dcb714f3c350ba55e41ed447bf3f05fac (patch) | |
| tree | e75ca8ebcee0954dc6e313864ebba9f72e984fc8 /kernel/workqueue.c | |
| parent | cpumask: reduce stack usage in SD_x_INIT initializers (diff) | |
cpumask: add CPU_MASK_ALL_PTR macro
* Add a static cpumask_t variable "CPU_MASK_ALL_PTR" to use as
a pointer reference to CPU_MASK_ALL. This reduces where possible
the instances where CPU_MASK_ALL allocates and fills a large
array on the stack. Used only if NR_CPUS > BITS_PER_LONG.
* Change init/main.c to use new set_cpus_allowed_ptr().
Depends on:
[sched-devel]: sched: add new set_cpus_allowed_ptr function
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
