summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/claim.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-04-24 16:43:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 08:24:21 +0200
commitfdf6803caf6ebd94f9ead27f888073c4def13715 (patch)
tree9aef053cffb0efd9a83c985936176749ac287a2a /drivers/nvdimm/claim.c
parent0b17dc17216796560edc4aa2fe04d43af0f6e233 (diff)
downloadlinux-stable-fdf6803caf6ebd94f9ead27f888073c4def13715.tar.gz
linux-stable-fdf6803caf6ebd94f9ead27f888073c4def13715.tar.bz2
linux-stable-fdf6803caf6ebd94f9ead27f888073c4def13715.zip
dm stats: add cond_resched when looping over entries
commit bfe2b0146c4d0230b68f5c71a64380ff8d361f8b upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvdimm/claim.c')
0 files changed, 0 insertions, 0 deletions