mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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>
This commit is contained in:
parent
d88c169197
commit
13b40c1e40
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user