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:
parent
77b90e18fd
commit
721bc647bd
@ -674,6 +674,7 @@ finalize:
|
|||||||
result = -EINVAL;
|
result = -EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
env_cond_resched();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user