diff options
author | Vern Hao <vernhao@tencent.com> | 2023-08-25 10:57:34 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 20:32:19 +0300 |
commit | 97144ce008f918249fa7275ee1d29f6f27665c34 (patch) | |
tree | 10b6415d9d96c51ec25cb9ead5fb2b3b8ed80c0e /mm/madvise.c | |
parent | 80e4a765a770c491e081463c38be927a876e2ce8 (diff) | |
download | linux-97144ce008f918249fa7275ee1d29f6f27665c34.tar.xz |
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: Vern Hao <vernhao@tencent.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions