[PATCH openEuler-1.0-LTS 3/3] mm/swapfile: add cond_resched() in get_swap_pages()