diff options
author | Pingfan Liu <[email protected]> | 2023-02-15 19:23:40 +0800 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2023-02-16 12:06:44 -0500 |
commit | 0ca44fcef241768fd25ee763b3d203b9852f269b (patch) | |
tree | f9f29a6be4d2d5cdfa3533389ee9b1afc8e58515 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | b0bbd86a288ab35234edb704935982c20f74628d (diff) |
dm: add cond_resched() to dm_wq_work()
Otherwise the while() loop in dm_wq_work() can result in a "dead
loop" on systems that have preemption disabled. This is particularly
problematic on single cpu systems.
Cc: [email protected]
Signed-off-by: Pingfan Liu <[email protected]>
Acked-by: Ming Lei <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions