diff options
| author | Mikulas Patocka <[email protected]> | 2022-04-24 20:43:00 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2022-05-09 16:11:07 +0000 |
| commit | bfe2b0146c4d0230b68f5c71a64380ff8d361f8b (patch) | |
| tree | bac12df0337c638ad875c54304fb6ffd0ea95872 /lib/overflow_kunit.c | |
| parent | dm: improve abnormal bio processing (diff) | |
| download | kernel-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
