mm/headers, sched/headers: Move task related MM types from <linux/mm_types.> to ...
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 23:12:19 +0000 (00:12 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:48 +0000 (01:43 +0100)
commit9e7d2e44dd88ba7e29c165b6fca428e384afa5a8
treeb6aae24b0290c8dd02714f059017d2198eb68a14
parent76960dbf9b235b957d9d730be2c6c2a70f709026
mm/headers, sched/headers: Move task related MM types from <linux/mm_types.> to <linux/mm_types_task.h>

Separate all the MM types that are embedded directly in 'struct task_struct'
into the <linux/mm_types_task.h> header.

The goal is to include this header in <linux/sched.h>, not the full <linux/mm_types.h>
header, to reduce the size, complexity and coupling of <linux/sched.h>.

(This patch does not change <linux/sched.h> yet.)

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/mm_types.h
include/linux/mm_types_task.h