diff options
author | Shi, Alex <alex.shi@intel.com> | 2011-07-28 02:56:12 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-09-29 00:38:29 -0400 |
commit | fc0763f53e3ff6a6bfa66934662a3446b9ca6f16 (patch) | |
tree | 2671d3f6275c9707a620032658ecb05025e4e9fa /include/linux/sched.h | |
parent | d7bd2d68aa2ee2738a10c8ad9346b805e4ab2e1c (diff) |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 4ac2c0578e0f..6ee91e20353b 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); | |||
270 | 270 | ||
271 | extern int runqueue_is_locked(int cpu); | 271 | extern int runqueue_is_locked(int cpu); |
272 | 272 | ||
273 | extern cpumask_var_t nohz_cpu_mask; | ||
274 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) | 273 | #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ) |
275 | extern void select_nohz_load_balancer(int stop_tick); | 274 | extern void select_nohz_load_balancer(int stop_tick); |
276 | extern int get_nohz_timer_target(void); | 275 | extern int get_nohz_timer_target(void); |