]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - kernel/time/tick-sched.c
sched/nohz: Clean up select_nohz_load_balancer()
authorAlex Shi <alex.shi@intel.com>
Mon, 10 Sep 2012 07:10:58 +0000 (15:10 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 13 Sep 2012 14:52:05 +0000 (16:52 +0200)
commitc1cc017c59c44d9ede7003631c43adc0cfdce2f9
tree7db4bad5a78af2bdc5197740012e462811422d40
parent08bedae1d0acd8c9baf514fb69fa199d0c8345f6
sched/nohz: Clean up select_nohz_load_balancer()

There is no load_balancer to be selected now. It just sets the
state of the nohz tick to stop.

So rename the function, pass the 'cpu' as a parameter and then
remove the useless call from tick_nohz_restart_sched_tick().

[ s/set_nohz_tick_stopped/nohz_balance_enter_idle/g
  s/clear_nohz_tick_stopped/nohz_balance_exit_idle/g ]
Signed-off-by: Alex Shi <alex.shi@intel.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1347261059-24747-1-git-send-email-alex.shi@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/fair.c
kernel/time/tick-sched.c