Add env_cond_resched() in the loop that may execute for a long time

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2019-01-02 14:49:30 +01:00
parent 77b90e18fd
commit 721bc647bd

View File

@ -674,6 +674,7 @@ finalize:
result = -EINVAL;
break;
}
env_cond_resched();
}
if (result == 0) {