Hi I'm submitting these two patches for the next merge window.
The first patch adds cond_resched() to generic_swapfile_activate to avoid stall when activating unfragmented swapfile. The second patch removes useless code from copy_page_to_iter_iovec and copy_page_from_iter_iovec. Mikulas