diff options
| author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-29 09:16:07 +0300 |
|---|---|---|
| committer | akpm <akpm@linux-foundation.org> | 2022-04-29 09:16:07 +0300 |
| commit | 3eefb826c5a627084eccec788f0236a070988dae (patch) | |
| tree | 4e2e1db0542545a6acc77fd171daecc20943b51e /include/uapi/linux/misc | |
| parent | cb1c37b1c65d9e5450af2ea6ec8916c5cd23a2e7 (diff) | |
| download | linux-3eefb826c5a627084eccec788f0236a070988dae.tar.xz | |
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 'include/uapi/linux/misc')
0 files changed, 0 insertions, 0 deletions
