diff options
author | Xiang Zheng <zhengxiang9@huawei.com> | 2020-07-27 13:43:37 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-07-27 13:43:37 -0600 |
commit | e1907d6752a26ccfcda1573b5a7542b056553046 (patch) | |
tree | 12970757490d86870bc444c1300551dd912cfc98 /include/linux/overflow.h | |
parent | bf3551e150e5a231ac60f2bd750f63ab5484010a (diff) |
vfio/type1: Add conditional rescheduling after iommu map failed
Commit c5e6688752c2 ("vfio/type1: Add conditional rescheduling")
missed a "cond_resched()" in vfio_iommu_map if iommu map failed.
This is a very tiny optimization and the case can hardly happen.
Signed-off-by: Xiang Zheng <zhengxiang9@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions