diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-09-13 17:51:28 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:28 -0700 |
commit | 7e2a5e5ab217d5e4166cdbdf4af8c5e34b6200bb (patch) | |
tree | 95d2257ff44725d89e1a4912b8a93b4107c0c8d4 /mm/memory_hotplug.c | |
parent | 73eab3ca481e5be0f1fd8140365d604482f84ee1 (diff) | |
download | linux-7e2a5e5ab217d5e4166cdbdf4af8c5e34b6200bb.tar.gz linux-7e2a5e5ab217d5e4166cdbdf4af8c5e34b6200bb.tar.bz2 linux-7e2a5e5ab217d5e4166cdbdf4af8c5e34b6200bb.zip |
mm: migrate: use __folio_test_movable()
Use __folio_test_movable(), no need to convert from folio to page again.
Link: https://lkml.kernel.org/r/20230913095131.2426871-6-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions