diff options
author | 2022-04-24 16:43:00 -0400 | |
---|---|---|
committer | 2022-05-09 12:11:07 -0400 | |
commit | bfe2b0146c4d0230b68f5c71a64380ff8d361f8b (patch) | |
tree | bac12df0337c638ad875c54304fb6ffd0ea95872 /scripts/gdb/linux/utils.py | |
parent | dm: improve abnormal bio processing (diff) | |
download | wireguard-linux-bfe2b0146c4d0230b68f5c71a64380ff8d361f8b.tar.xz wireguard-linux-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: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions