diff options
| author | Hui Su <[email protected]> | 2020-12-14 19:06:14 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-15 12:13:39 -0800 |
| commit | 30e6a51dbb0594d79dc2a9543659c1d596e2f7d4 (patch) | |
| tree | 184c00fd5c0654f9e4ebdb3fa989354755b20654 /tools/perf/scripts/python | |
| parent | 462680946b6d982afdda3bf5f7de3c379cb8c97b (diff) | |
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 <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions