[PATCH 6.1 168/208] mm/swapfile: add cond_resched() in get_swap_pages()