Home
last modified time | relevance | path

Searched hist:d720bbbd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/damon/
H A Dcore.cd720bbbd Fri Jan 14 16:09:40 CST 2022 Xin Hao <xhao@linux.alibaba.com> mm/damon/core: use abs() instead of diff_of()

In kernel, we can use abs(a - b) to get the absolute value, So there is no
need to redefine a new one.

Link: https://lkml.kernel.org/r/b24e7b82d9efa90daf150d62dea171e19390ad0b.1636989871.git.xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>