Merge pull request #28 from robertbaldyga/add_resched
Add env_cond_resched() in the loop that may execute for a long time
This commit is contained in:
commit
ef2a7b77bd
@ -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