sched/headers: Move the NOHZ APIs from <linux/sched.h> to <linux/sched/nohz.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 10:12:59 +0000 (11:12 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:43 +0000 (01:43 +0100)
commit752b3ca734cbc17c0456b846ae886c0ed39c5703
treed5102243159fe04db42164395c85ecb5d0d5cd06
parent3605df49556ebb7641d1f8ec2e7eeecf4dd734bf
sched/headers: Move the NOHZ APIs from <linux/sched.h> to <linux/sched/nohz.h>

There's a number of NOHZ/dyntics related functionality in <linux/sched.h>,
but only a handful of timer files are making use of them.

Move them into their own header. This better documents these APIs
and unclutters <linux/sched.h>.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
include/linux/sched/nohz.h