mm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 10:03:31 +0000 (11:03 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:25 +0000 (08:42 +0100)
commit314ff7851fc8ea66cbf48eaa93d8ebfb5ca084a9
tree16567343faf3f9e94a56bbf431c1e54414cdbb6d
parent780de9dd2720debc14c501dab4dc80d1f75ad50e
mm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from <linux/sched.h> to <linux/mm_types>

The <linux/sched.h> header includes various vmacache related defines,
which are arguably misplaced.

Move them to mm_types.h and minimize the sched.h impact by putting
all task vmacache state into a new 'struct vmacache' structure.

No change in functionality.

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/sched.h
include/linux/vmacache.h
kernel/debug/debug_core.c
mm/nommu.c
mm/vmacache.c