aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-08-11 19:59:44 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 13:37:50 -0700
commita04d12c2481fbf2752b5686d8a8049dd59e61e37 (patch)
tree649840482ba41bacdf1a17dedefb307526e790bb /mm/z3fold.c
parentmm: page_alloc: remove unused parameter from reserve_highatomic_pageblock() (diff)
downloadwireguard-linux-a04d12c2481fbf2752b5686d8a8049dd59e61e37.tar.xz
wireguard-linux-a04d12c2481fbf2752b5686d8a8049dd59e61e37.zip
mm/page_alloc: remove unnecessary inner __get_pfnblock_flags_mask
Patch series "Two minor cleanups for get pageblock migratetype". This series contains two minor cleanups for get pageblock migratetype. More details can be found in respective patches. This patch (of 2): get_pfnblock_flags_mask() just calls inline inner __get_pfnblock_flags_mask without any extra work. Just opencode __get_pfnblock_flags_mask in get_pfnblock_flags_mask and replace call to __get_pfnblock_flags_mask with call to get_pfnblock_flags_mask to remove unnecessary __get_pfnblock_flags_mask. Link: https://lkml.kernel.org/r/20230811115945.3423894-1-shikemeng@huaweicloud.com Link: https://lkml.kernel.org/r/20230811115945.3423894-2-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Acked-by: Mel Gorman <mgorman@techsingularity.net> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions