diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2020-06-19 17:51:34 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-06-19 18:32:24 +0200 |
commit | d35bd764e6899a7bea71958f08d16cea5bfa1919 (patch) | |
tree | deffd0ce137febc8e079fca0efaea8660c108ac1 /sound/soc/qcom/qdsp6/q6afe.h | |
parent | dm zoned: Fix reclaim zone selection (diff) | |
download | linux-d35bd764e6899a7bea71958f08d16cea5bfa1919.tar.xz linux-d35bd764e6899a7bea71958f08d16cea5bfa1919.zip |
dm writecache: add cond_resched to loop in persistent_memory_claim()
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>
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6afe.h')
0 files changed, 0 insertions, 0 deletions