diff options
author | Yihao Han <hanyihao@vivo.com> | 2022-01-15 01:09:47 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 17:30:32 +0300 |
commit | 8bd0b9da03c9154e279b1a502636103887b9fbed (patch) | |
tree | bce45577dd7460ef4df248b064d774f259dd26e0 /mm/mapping_dirty_helpers.c | |
parent | cdeed009f3bceee41f73f0137db785fd29a05cb8 (diff) | |
download | linux-8bd0b9da03c9154e279b1a502636103887b9fbed.tar.xz |
mm/damon/vaddr: remove swap_ranges() and replace it with swap()
Remove 'swap_ranges()' and replace it with the macro 'swap()' defined in
'include/linux/minmax.h' to simplify code and improve efficiency
Link: https://lkml.kernel.org/r/20211111115355.2808-1-hanyihao@vivo.com
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions