summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2017-10-26 22:42:28 -0400
committerIngo Molnar <mingo@kernel.org>2017-10-27 03:55:24 -0400
commit7863406143d8bbbbda07a61285c5f4c217908dfd (patch)
tree91693d224c4970503ed0ea7636fe774331a265ec /init/main.c
parent54b933c6c954a8b7b0c2b40a1c4d3f7279d11e22 (diff)
sched/isolation: Move housekeeping related code to its own file
The housekeeping code is currently tied to the NOHZ code. As we are planning to make housekeeping independent from it, start with moving the relevant code to its own file. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Chris Metcalf <cmetcalf@mellanox.com> Cc: Christoph Lameter <cl@linux.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Cc: Wanpeng Li <kernellwp@gmail.com> Link: http://lkml.kernel.org/r/1509072159-31808-2-git-send-email-frederic@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 0ee9c6866ada..4610c99ae306 100644
--- a/init/main.c
+++ b/init/main.c
@@ -46,6 +46,7 @@
46#include <linux/cgroup.h> 46#include <linux/cgroup.h>
47#include <linux/efi.h> 47#include <linux/efi.h>
48#include <linux/tick.h> 48#include <linux/tick.h>
49#include <linux/sched/isolation.h>
49#include <linux/interrupt.h> 50#include <linux/interrupt.h>
50#include <linux/taskstats_kern.h> 51#include <linux/taskstats_kern.h>
51#include <linux/delayacct.h> 52#include <linux/delayacct.h>
@@ -606,6 +607,7 @@ asmlinkage __visible void __init start_kernel(void)
606 early_irq_init(); 607 early_irq_init();
607 init_IRQ(); 608 init_IRQ();
608 tick_init(); 609 tick_init();
610 housekeeping_init();
609 rcu_init_nohz(); 611 rcu_init_nohz();
610 init_timers(); 612 init_timers();
611 hrtimers_init(); 613 hrtimers_init();