diff options
author | Faiyaz Mohammed <faiyazm@codeaurora.org> | 2020-11-16 14:35:37 +0300 |
---|---|---|
committer | Mike Rapoport <rppt@linux.ibm.com> | 2020-11-17 18:38:25 +0300 |
commit | 5bdba520c1b318578caffd325515b35d187f8a0e (patch) | |
tree | 2f4ab3d27850a49e41ed14a7fceb9ba46f727a8d /mm/oom_kill.c | |
parent | b5cf2d6c814829b623ccedce88d94e7bfe35cb2c (diff) | |
download | linux-5bdba520c1b318578caffd325515b35d187f8a0e.tar.xz |
mm: memblock: drop __init from memblock functions to make it inline
__init is used with inline due to which memblock wraper functions are
not getting inline.
for example:
[ 0.000000] memblock_alloc_try_nid: 1490 bytes align=0x40 nid=-1 from=0x0000000000000000 max_addr=0x0000000000000000 memblock_alloc+0x20/0x2c
[ 0.000000] memblock_reserve: [0x000000023f09a3c0-0x000000023f09a991] memblock_alloc_range_nid+0xc0/0x188
Dropping __init from memblock wrapper functions to make it inline and it
increase the debugability.
After:
[ 0.000000] memblock_alloc_try_nid: 1490 bytes align=0x40 nid=-1 from=0x0000000000000000 max_addr=0x0000000000000000 start_kernel+0xa4/0x568
[ 0.000000] memblock_reserve: [0x000000023f09a3c0-0x000000023f09a991] memblock_alloc_range_nid+0xc0/0x188
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions