]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: add cond_resched() to various workqueue loops
authorMike Snitzer <snitzer@kernel.org>
Thu, 16 Feb 2023 20:29:44 +0000 (15:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:58 +0000 (16:43 +0100)
commitc43665e9d2f6cdeaa300a8dde9a6107adc46a0a5
tree349d1e664d34216eebb7a966f970fc051cb1231d
parentcb282366c4fc591b9d972cff02f1f6b5d0437003
dm thin: add cond_resched() to various workqueue loops

[ Upstream commit e4f80303c2353952e6e980b23914e4214487f2a6 ]

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>
drivers/md/dm-thin.c