diff options
author | Xin Hao <[email protected]> | 2022-01-14 14:09:40 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-01-15 16:30:32 +0200 |
commit | d720bbbd70e968f8a0257393b575c3a29b56f990 (patch) | |
tree | 5ea2427222abde3ba6b11243d4038ab138d7609e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c46b0bb6a735db0b6140e12e750b5acb1b032982 (diff) |
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 <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions