diff options
author | Xin Hao <xhao@linux.alibaba.com> | 2022-09-27 08:19:46 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-12 18:51:49 -0700 |
commit | ab63f63f3885d492e62da55304b0483a2a9e6a7d (patch) | |
tree | 75057e98fc1eefd26f216b15be8de7c36b6ca7d7 /lib/test_hmm.c | |
parent | 652e04464d3944226052c827bdaaf5113b072870 (diff) |
mm/damon: use damon_sz_region() in appropriate place
In many places we can use damon_sz_region() to instead of "r->ar.end -
r->ar.start".
Link: https://lkml.kernel.org/r/20220927001946.85375-2-xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Suggested-by: SeongJae Park <sj@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_hmm.c')
0 files changed, 0 insertions, 0 deletions