[PATCH openEuler-5.10 24/47] mm/damon/vaddr: remove swap_ranges() and replace it with swap()