diff options
author | Pankaj Raghav <[email protected]> | 2023-06-14 15:35:38 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-14 11:13:07 -0600 |
commit | 6dd4423f3f247b6f0ecb828cf62ea2bc4604f0b5 (patch) | |
tree | cf97e74081f724a42db044f3e3b6a4a4f034b870 /include/linux/blktrace_api.h | |
parent | 30654614f3d27230200b1650f6025a2ce67900b4 (diff) |
brd: use cond_resched instead of cond_resched_rcu
The body of the loop is run without RCU lock held. Use the regular
cond_resched() instead of cond_resched_rcu().
Fixes: 786bb0245881 ("brd: use XArray instead of radix-tree to index backing pages")
Suggested-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Pankaj Raghav <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/blktrace_api.h')
0 files changed, 0 insertions, 0 deletions