aboutsummaryrefslogtreecommitdiffstats
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2022-04-24 20:43:00 +0000
committerMike Snitzer <[email protected]>2022-05-09 16:11:07 +0000
commitbfe2b0146c4d0230b68f5c71a64380ff8d361f8b (patch)
treebac12df0337c638ad875c54304fb6ffd0ea95872 /lib/overflow_kunit.c
parentdm: improve abnormal bio processing (diff)
downloadkernel-bfe2b0146c4d0230b68f5c71a64380ff8d361f8b.tar.gz
kernel-bfe2b0146c4d0230b68f5c71a64380ff8d361f8b.zip
dm stats: add cond_resched when looping over entries
dm-stats can be used with a very large number of entries (it is only limited by 1/4 of total system memory), so add rescheduling points to the loops that iterate over the entries. Cc: [email protected] Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions