]> Zhao Yanbai Git Server - minix.git/commitdiff
kernel: these asserts from r7657 are not reasonable
authorBen Gras <ben@minix3.org>
Mon, 5 Jul 2010 17:45:16 +0000 (17:45 +0000)
committerBen Gras <ben@minix3.org>
Mon, 5 Jul 2010 17:45:16 +0000 (17:45 +0000)
will fire if copy needs more than one try, which is legit.

kernel/arch/i386/memory.c

index b5e9f4add598529bb196933ad2a5956b23a1dc12..8305df8c025d768f10aa7ad12df608c930bdf2d9 100644 (file)
@@ -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);