mm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from...
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>
Showing
- include/linux/mm_types.h 12 additions, 0 deletionsinclude/linux/mm_types.h
- include/linux/sched.h 4 additions, 7 deletionsinclude/linux/sched.h
- include/linux/vmacache.h 1 addition, 1 deletioninclude/linux/vmacache.h
- kernel/debug/debug_core.c 2 additions, 2 deletionskernel/debug/debug_core.c
- mm/nommu.c 1 addition, 1 deletionmm/nommu.c
- mm/vmacache.c 5 additions, 5 deletionsmm/vmacache.c
Please register or sign in to comment