[PATCH openEuler-5.10-LTS 19/36] mm/swapfile: add cond_resched() in get_swap_pages()