aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index e24cebe0e6cb..3e5525630459 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5980,15 +5980,6 @@ void __cpuinit init_idle(struct task_struct *idle, int cpu)
5980} 5980}
5981 5981
5982/* 5982/*
5983 * In a system that switches off the HZ timer nohz_cpu_mask
5984 * indicates which cpus entered this state. This is used
5985 * in the rcu update to wait only for active cpus. For system
5986 * which do not switch off the HZ timer nohz_cpu_mask should
5987 * always be CPU_BITS_NONE.
5988 */
5989cpumask_var_t nohz_cpu_mask;
5990
5991/*
5992 * Increase the granularity value when there are more CPUs, 5983 * Increase the granularity value when there are more CPUs,
5993 * because with more CPUs the 'effective latency' as visible 5984 * because with more CPUs the 'effective latency' as visible
5994 * to users decreases. But the relationship is not linear, 5985 * to users decreases. But the relationship is not linear,
@@ -8200,8 +8191,6 @@ void __init sched_init(void)
8200 */ 8191 */
8201 current->sched_class = &fair_sched_class; 8192 current->sched_class = &fair_sched_class;
8202 8193
8203 /* Allocate the nohz_cpu_mask if CONFIG_CPUMASK_OFFSTACK */
8204 zalloc_cpumask_var(&nohz_cpu_mask, GFP_NOWAIT);
8205#ifdef CONFIG_SMP 8194#ifdef CONFIG_SMP
8206 zalloc_cpumask_var(&sched_domains_tmpmask, GFP_NOWAIT); 8195 zalloc_cpumask_var(&sched_domains_tmpmask, GFP_NOWAIT);
8207#ifdef CONFIG_NO_HZ 8196#ifdef CONFIG_NO_HZ