[PATCH 0/2] Two minor cleanups for get pageblock migratetype

From: Kemeng Shi
Date: Thu Aug 10 2023 - 23:59:48 EST


Hi all, this series contains two minor cleanups for get pageblock
migratetype. More details can be found in respective pages. Thanks!

Kemeng Shi (2):
mm/page_alloc: remove unnecessary inner __get_pfnblock_flags_mask
mm/page_alloc: use get_pfnblock_migratetype to avoid extra page_to_pfn

mm/page_alloc.c | 34 +++++++++++++---------------------
1 file changed, 13 insertions(+), 21 deletions(-)

--
2.30.0