diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2022-04-24 16:43:00 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-05-09 12:11:07 -0400 |
commit | bfe2b0146c4d0230b68f5c71a64380ff8d361f8b (patch) | |
tree | bac12df0337c638ad875c54304fb6ffd0ea95872 /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | 4edadf6dcb54d2a86eeb424f27122dc0076d9267 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions