aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2023-11-17 17:24:04 +0000
committerMike Snitzer <[email protected]>2023-11-17 19:41:14 +0000
commitccadc8a21ef13eb80006ecff6a7466810e4f0dd6 (patch)
tree60041a72fb02933f2f7a90ba1ca6b5bcc72124fd /net/unix/unix_bpf.c
parentdm-delay: fix bugs introduced by kthread mode (diff)
downloadkernel-ccadc8a21ef13eb80006ecff6a7466810e4f0dd6.tar.gz
kernel-ccadc8a21ef13eb80006ecff6a7466810e4f0dd6.zip
dm-delay: avoid duplicate logic
This is small refactoring of dm-delay - we avoid duplicate logic in flush_delayed_bios and flush_delayed_bios_fast and join these two functions into one. We also add cond_resched() to flush_delayed_bios because the list may have unbounded number of entries. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions