diff options
author | Mike Travis <travis@sgi.com> | 2008-07-01 13:32:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 05:55:42 -0400 |
commit | 13b40c1e40f3261e83ee514a08b77dbecb93021b (patch) | |
tree | 2b2aa9f24acaf7486779169dd35f94522c972829 /kernel/sched.c | |
parent | d88c16919793a9f5dc93e7956da5bb089c7600b4 (diff) |
sched: reduce stack size in isolated_cpu_setup()
* Remove 16k stack requirements in isolated_cpu_setup when NR_CPUS=4096.
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 99e6d850eca..1ee18dbb451 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6768,7 +6768,8 @@ static cpumask_t cpu_isolated_map = CPU_MASK_NONE; | |||
6768 | /* Setup the mask of cpus configured for isolated domains */ | 6768 | /* Setup the mask of cpus configured for isolated domains */ |
6769 | static int __init isolated_cpu_setup(char *str) | 6769 | static int __init isolated_cpu_setup(char *str) |
6770 | { | 6770 | { |
6771 | int ints[NR_CPUS], i; | 6771 | static int __initdata ints[NR_CPUS]; |
6772 | int i; | ||
6772 | 6773 | ||
6773 | str = get_options(str, ARRAY_SIZE(ints), ints); | 6774 | str = get_options(str, ARRAY_SIZE(ints), ints); |
6774 | cpus_clear(cpu_isolated_map); | 6775 | cpus_clear(cpu_isolated_map); |