Skip to content

Commit

Permalink
sched: reduce stack size in isolated_cpu_setup()
Browse files Browse the repository at this point in the history
  * Remove 16k stack requirements in isolated_cpu_setup when NR_CPUS=4096.

Signed-off-by: Mike Travis <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 18, 2008
1 parent d88c169 commit 13b40c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -6768,7 +6768,8 @@ static cpumask_t cpu_isolated_map = CPU_MASK_NONE;
/* Setup the mask of cpus configured for isolated domains */
static int __init isolated_cpu_setup(char *str)
{
int ints[NR_CPUS], i;
static int __initdata ints[NR_CPUS];
int i;

str = get_options(str, ARRAY_SIZE(ints), ints);
cpus_clear(cpu_isolated_map);
Expand Down

0 comments on commit 13b40c1

Please sign in to comment.