dm thin: add cond_resched() to various workqueue loops
stable inclusion from stable-v5.10.173 commit 52206dd1c77f04093be0dce7c9a6d58634ae6a53 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=52206dd1c77f04093be0dce7c9a6d58634ae6a53 -------------------------------- [ Upstream commit e4f80303 ] 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