diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-05-09 21:51:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-09 21:51:27 +0300 |
commit | 936b33f7243fa1e54c8f4f2febd3472cc00e66fd (patch) | |
tree | c2e31826acd168dcbec573f6f5d60fc0d85aa7ca /drivers/nvme | |
parent | cf12c6729c7405c06b3e1bfccac7aa7ad007e1b7 (diff) | |
download | linux-936b33f7243fa1e54c8f4f2febd3472cc00e66fd.tar.xz |
brd: add cond_resched to brd_free_pages
The loop that frees all the pages can take unbounded amount of time, so
add cond_resched() to it.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions