Message ID | 20220321200523.12386C340E8@smtp.kernel.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-swap-get-rid-of-deadloop-in-swapin-readahead.patch removed from -mm tree | expand |
--- a/mm/swap_state.c~mm-swap-get-rid-of-deadloop-in-swapin-readahead +++ a/mm/swap_state.c @@ -478,7 +478,7 @@ struct page *__read_swap_cache_async(swp * __read_swap_cache_async(), which has set SWAP_HAS_CACHE * in swap_map, but not yet added its page to swap cache. */ - cond_resched(); + schedule_timeout_uninterruptible(1); } /*