-
- Downloads
mm: move tlb_flush_pending inline helpers to mm_inline.h
linux/mm_types.h should only define structure definitions, to make it cheap to include elsewhere. The atomic_t helper function definitions are particularly large, so it's better to move the helpers using those into the existing linux/mm_inline.h and only include that where needed. As a follow-up, we may want to go through all the indirect includes in mm_types.h and reduce them as much as possible. Link: https://lkml.kernel.org/r/20211207125710.2503446-2-arnd@kernel.org Signed-off-by:Arnd Bergmann <arnd@arndb.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Colin Cross <ccross@google.com> Cc: Kees Cook <keescook@chromium.org> Cc: Peter Xu <peterx@redhat.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Yu Zhao <yuzhao@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Eric Biederman <ebiederm@xmission.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/x86/include/asm/pgtable.h 1 addition, 1 deletionarch/x86/include/asm/pgtable.h
- include/linux/mm.h 0 additions, 45 deletionsinclude/linux/mm.h
- include/linux/mm_inline.h 86 additions, 0 deletionsinclude/linux/mm_inline.h
- include/linux/mm_types.h 45 additions, 84 deletionsinclude/linux/mm_types.h
- mm/ksm.c 1 addition, 0 deletionsmm/ksm.c
- mm/mapping_dirty_helpers.c 1 addition, 0 deletionsmm/mapping_dirty_helpers.c
- mm/memory.c 1 addition, 0 deletionsmm/memory.c
- mm/mmu_gather.c 1 addition, 0 deletionsmm/mmu_gather.c
- mm/pgtable-generic.c 1 addition, 0 deletionsmm/pgtable-generic.c
Loading
Please register or sign in to comment