kernel: these asserts from r7657 are not reasonable
will fire if copy needs more than one try, which is legit.
This commit is contained in:
parent
fc8f0b9ee2
commit
42399159da
|
@ -570,8 +570,6 @@ PRIVATE void vm_suspend(struct proc *caller, const struct proc *target,
|
||||||
*/
|
*/
|
||||||
assert(!RTS_ISSET(caller, RTS_VMREQUEST));
|
assert(!RTS_ISSET(caller, RTS_VMREQUEST));
|
||||||
assert(!RTS_ISSET(target, RTS_VMREQUEST));
|
assert(!RTS_ISSET(target, RTS_VMREQUEST));
|
||||||
assert(!(caller->p_misc_flags & MF_KCALL_RESUME));
|
|
||||||
assert(!(target->p_misc_flags & MF_KCALL_RESUME));
|
|
||||||
|
|
||||||
RTS_SET(caller, RTS_VMREQUEST);
|
RTS_SET(caller, RTS_VMREQUEST);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue