Skip to content
Commit e1907d67 authored by Xiang Zheng's avatar Xiang Zheng Committed by Alex Williamson
Browse files

vfio/type1: Add conditional rescheduling after iommu map failed



Commit c5e66887 ("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: default avatarXiang Zheng <zhengxiang9@huawei.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent bf3551e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment