]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
timer: Don't initialize 'tvec_base' on hotplug
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 31 Mar 2015 15:19:01 +0000 (20:49 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Apr 2015 15:46:01 +0000 (17:46 +0200)
commit8def906044c02edcedac79aa3d6310ab4d90c4d8
treeed23b9385e720c9da9958d8b56f06b0e3d548f76
parentb337a9380f7effd60d082569dd7e0b97a7549730
timer: Don't initialize 'tvec_base' on hotplug

There is no need to call init_timers_cpu() on every CPU hotplug event,
there is not much we need to reset.

 - Timer-lists are already empty at the end of migrate_timers().
 - timer_jiffies will be refreshed while adding a new timer, after the
   CPU is online again.
 - active_timers and all_timers can be reset from migrate_timers().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/54a1c30ea7b805af55beb220cadf5a07a21b0a4d.1427814611.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/timer.c