Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 20:28:45 -0500
From:      "Brian F. Feldman" <green@FreeBSD.ORG>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Jake Burkholder <jake@locore.ca>, "Brian F. Feldman" <green@FreeBSD.ORG>, John Baldwin <jhb@FreeBSD.ORG>, Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG, alpha@FreeBSD.ORG
Subject:   Re: UMA panic under load 
Message-ID:  <200212150128.gBF1SjS2014362@green.bikeshed.org>
In-Reply-To: Your message of "Sat, 14 Dec 2002 17:10:38 PST." <200212150110.gBF1AcB6060179@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon <dillon@apollo.backplane.com> 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 ]''''''''''\
  <> green@FreeBSD.org  <> bfeldman@tislabs.com      \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212150128.gBF1SjS2014362>