summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-06-19 11:51:34 -0400
committerSasha Levin <sashal@kernel.org>2020-06-30 15:37:12 -0400
commitcc66553004f4589f76804fb56c19331a1c00a043 (patch)
tree4889b86c41676c57fac2d9b6ae4e588dabb871b2 /drivers/devfreq
parenta51e71cbf6e64b170ef01a78f94df01cb46acb9b (diff)
dm writecache: add cond_resched to loop in persistent_memory_claim()
commit d35bd764e6899a7bea71958f08d16cea5bfa1919 upstream. Add cond_resched() to a loop that fills in the mapper memory area because the loop can be executed many times. Fixes: 48debafe4f2fe ("dm: add writecache target") Cc: stable@vger.kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions