diff options
author | 2022-04-28 23:16:07 -0700 | |
---|---|---|
committer | 2022-04-28 23:16:07 -0700 | |
commit | 3eefb826c5a627084eccec788f0236a070988dae (patch) | |
tree | 4e2e1db0542545a6acc77fd171daecc20943b51e /fs/dax.c | |
parent | mm/migration: use helper function vma_lookup() in add_page_for_migration (diff) | |
download | wireguard-linux-3eefb826c5a627084eccec788f0236a070988dae.tar.xz wireguard-linux-3eefb826c5a627084eccec788f0236a070988dae.zip |
mm/migration: use helper macro min in do_pages_stat
We could use helper macro min to help set the chunk_nr to simplify the
code.
Link: https://lkml.kernel.org/r/20220318111709.60311-7-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions