diff options
author | 2023-02-16 12:10:05 -0500 | |
---|---|---|
committer | 2023-02-16 12:10:05 -0500 | |
commit | f77692d65d54665d81815349cc727baa85e8b71d (patch) | |
tree | 5a3a18362f53370945bcc13289af5e91ea3cbe56 /scripts/generate_rust_analyzer.py | |
parent | dm: add cond_resched() to dm_wq_work() (diff) | |
download | linux-rng-f77692d65d54665d81815349cc727baa85e8b71d.tar.xz linux-rng-f77692d65d54665d81815349cc727baa85e8b71d.zip |
dm: add cond_resched() to dm_wq_requeue_work()
Otherwise the while() loop in dm_wq_requeue_work() can result in a
"dead loop" on systems that have preemption disabled. This is
particularly problematic on single cpu systems.
Fixes: 8b211aaccb915 ("dm: add two stage requeue mechanism")
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions