dm cache: add cond_resched() to various workqueue loops
stable inclusion from stable-v5.10.173 commit 9b8047b2100081e42b7c2a513db9bbeac9c25958 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9b8047b2100081e42b7c2a513db9bbeac9c25958 -------------------------------- [ Upstream commit 76227f6d ] Otherwise on resource constrained systems these workqueues may be too greedy. Signed-off-by:Mike Snitzer <snitzer@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment