Message ID | 20220316231503.DA1FBC340EC@smtp.kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/4] mm: swap: get rid of deadloop in swapin readahead | 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); } /*