Commit 97144ce0 authored by Vern Hao's avatar Vern Hao Committed by Andrew Morton
Browse files

mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()

In skip_cma(), we can use folio_migratetype() to replace
get_pageblock_migratetype().

Link: https://lkml.kernel.org/r/20230825075735.52436-1-user@VERNHAO-MC1


Signed-off-by: default avatarVern Hao <vernhao@tencent.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Cc: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 80e4a765
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment