commit | 406100762ae9ae5b7709c737ada3089160a0f77a | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Thu Oct 15 20:07:36 2020 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Oct 16 11:11:17 2020 -0700 |
tree | 3a7129a66491e1aadfedd5a2f0fc19738a091c40 | |
parent | 11c9c7edae06da789abfdeefe5123162a3f1c7dc [diff] |
mm/vmstat.c: use helper macro abs() Use helper macro abs() to simplify the "x > t || x < -t" cmp. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/20200905084008.15748-1-linmiaohe@huawei.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>