aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2023-02-16 12:10:05 -0500
committerMike Snitzer <[email protected]>2023-02-16 12:10:05 -0500
commitf77692d65d54665d81815349cc727baa85e8b71d (patch)
tree5a3a18362f53370945bcc13289af5e91ea3cbe56 /tools/testing/selftests/bpf/progs/test_autoload.c
parent0ca44fcef241768fd25ee763b3d203b9852f269b (diff)
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: [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