* [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map
@ 2006-12-13 22:17 Tim Chen
2006-12-13 23:34 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Tim Chen @ 2006-12-13 22:17 UTC (permalink / raw)
To: linux-kernel; +Cc: suresh.b.siddha
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
Signed-off-by: Tim Chen <tim.c.chen@intel.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
diff --git a/kernel/sched.c b/kernel/sched.c
index f385eff..3de0deb 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map
2006-12-13 22:17 [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map Tim Chen
@ 2006-12-13 23:34 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-12-13 23:34 UTC (permalink / raw)
To: Tim Chen; +Cc: linux-kernel, suresh.b.siddha, Chris Wright
* Tim Chen <tim.c.chen@linux.intel.com> wrote:
> 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
>
> Signed-off-by: Tim Chen <tim.c.chen@intel.com>
> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
good catch. -stable candidate as well i guess.
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-13 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-13 22:17 [PATCH] sched: remove __cpuinitdata anotation to cpu_isolated_map Tim Chen
2006-12-13 23:34 ` Ingo Molnar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.