]> git.baikalelectronics.ru Git - kernel.git/commit
mm: damon: use HPAGE_PMD_SIZE
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 17 May 2022 14:51:20 +0000 (22:51 +0800)
committerakpm <akpm@linux-foundation.org>
Thu, 19 May 2022 21:08:55 +0000 (14:08 -0700)
commitb1892c3259a243f97d7ddecfc138791b1ee7bd6b
tree1405b158ce6e8f338ee75aac6d8c7308f6373e3a
parent94d4d41c1a7b8980b3aa5cbb8e9ee46c5fd4bde0
mm: damon: use HPAGE_PMD_SIZE

Use HPAGE_PMD_SIZE instead of open coding.

Link: https://lkml.kernel.org/r/20220517145120.118523-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/ops-common.c
mm/damon/paddr.c
mm/damon/vaddr.c