From: Ben Gras Date: Mon, 5 Jul 2010 17:45:16 +0000 (+0000) Subject: kernel: these asserts from r7657 are not reasonable X-Git-Tag: v3.1.8~283 X-Git-Url: http://zhaoyanbai.com/repos/doc/mandoc_char.7.html?a=commitdiff_plain;h=42399159da16d7c8c5ec8555302c55940e75284c;p=minix.git kernel: these asserts from r7657 are not reasonable will fire if copy needs more than one try, which is legit. --- diff --git a/kernel/arch/i386/memory.c b/kernel/arch/i386/memory.c index b5e9f4add..8305df8c0 100644 --- a/kernel/arch/i386/memory.c +++ b/kernel/arch/i386/memory.c @@ -570,8 +570,6 @@ PRIVATE void vm_suspend(struct proc *caller, const struct proc *target, */ assert(!RTS_ISSET(caller, 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);