aboutsummaryrefslogtreecommitdiffstats
path: root/mm/khugepaged.c
diff options
context:
space:
mode:
authorHui Su <sh_def@163.com>2020-12-14 19:06:14 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-15 12:13:39 -0800
commit30e6a51dbb0594d79dc2a9543659c1d596e2f7d4 (patch)
tree184c00fd5c0654f9e4ebdb3fa989354755b20654 /mm/khugepaged.c
parentmm: remove pagevec_lookup_range_nr_tag() (diff)
downloadlinux-dev-30e6a51dbb0594d79dc2a9543659c1d596e2f7d4.tar.xz
linux-dev-30e6a51dbb0594d79dc2a9543659c1d596e2f7d4.zip
mm/shmem.c: make shmem_mapping() inline
shmem_mapping() isn't worth an out-of-line call from any callsite. So make it inline by - make shmem_aops global - export shmem_aops - inline the shmem_mapping() and replace the direct call 'shmem_aops' with shmem_mapping() in shmem.c. Link: https://lkml.kernel.org/r/20201115165207.GA265355@rlk Signed-off-by: Hui Su <sh_def@163.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions