Skip to contentSkip to conversation

sched: remove __cpuinitdata anotation to cpu_isolated_map

PATCH In review Tim Chen 2 participants 2 messages Dec 13, 2006

lore
Share & tools
lore

Tim Chen

author
#0 lore raw

PATCH 1/1 sched: remove __cpuinitdata anotation to cpu_isolated_map

The structure cpu_isolated_map is used not only during initialization. Multi-core scheduler configuration changes and exclusive cpusets use this during run time. During setting of sched_mc_power_savings
policy, this structure is accessed to update sched_domains.

Thanks.

Tim Chen

kernel/sched.c +1 -1
index f385eff..3de0deb 100644
@@ -5510,7 +5510,7 @@ static void cpu_attach_domain(struct sch
 }
 
 /* cpus with isolated domains */
-static cpumask_t __cpuinitdata cpu_isolated_map = CPU_MASK_NONE;
+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)
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Tim Chen

The structure cpu_isolated_map is used not only during initialization. Multi-core scheduler configuration changes and exclusive cpusets use this during run time. During setting of sched_mc_power_savings
policy, this structure is accessed to update sched_domains.

Thanks.

Tim Chen

good catch. -stable candidate as well i guess.

Ingo