summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorShi, Alex <alex.shi@intel.com>2011-07-28 14:56:12 +0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-09-28 21:38:29 -0700
commitfc0763f53e3ff6a6bfa66934662a3446b9ca6f16 (patch)
tree2671d3f6275c9707a620032658ecb05025e4e9fa /include/linux/sched.h
parentd7bd2d68aa2ee2738a10c8ad9346b805e4ab2e1c (diff)
downloadop-kernel-dev-fc0763f53e3ff6a6bfa66934662a3446b9ca6f16.zip
op-kernel-dev-fc0763f53e3ff6a6bfa66934662a3446b9ca6f16.tar.gz
nohz: Remove nohz_cpu_mask
RCU no longer uses this global variable, nor does anyone else. This commit therefore removes this variable. This reduces memory footprint and also removes some atomic instructions and memory barriers from the dyntick-idle path. Signed-off-by: Alex Shi <alex.shi@intel.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4ac2c05..6ee91e2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -270,7 +270,6 @@ extern void init_idle_bootup_task(struct task_struct *idle);
extern int runqueue_is_locked(int cpu);
-extern cpumask_var_t nohz_cpu_mask;
#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ)
extern void select_nohz_load_balancer(int stop_tick);
extern int get_nohz_timer_target(void);
OpenPOWER on IntegriCloud