Matthew Dillon <[EMAIL PROTECTED]> wrote: > What about something like this. If the vm_refcnt is still being > decremented too early, could it be moved to just before the thread_exit() > call?
The problem that had to be fixed by removing this race was that two processes with the same vmspace can exit at the same time, and the vm_refcnt could be 2 the entire time, so neither would perform the current if (--vm->vm_refcnt == 0) { block. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> [EMAIL PROTECTED] <> [EMAIL PROTECTED] \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message