Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 16:32:35 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        "Rao, Nikhil" <nikhil.rao@intel.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: pfind() and the proc structure
Message-ID:  <20080401143235.GA51785@freebsd.org>
In-Reply-To: <12A5C15467D5B94F8E0FF265D9498ADD02CBF949@orsmsx419.amr.corp.intel.com>
References:  <20080329120018.0A8F5106567F@hub.freebsd.org> <12A5C15467D5B94F8E0FF265D9498ADD02CBF8FF@orsmsx419.amr.corp.intel.com> <20080401075623.GA19770@freebsd.org> <12A5C15467D5B94F8E0FF265D9498ADD02CBF949@orsmsx419.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 01, 2008 at 07:23:58AM -0700, Rao, Nikhil wrote:
> 
> Ok, I should have caught that :-( Another question - 
> Now that the PROC_LOCK on p is obtained the all_proc lock is released
> and the function returns, at this point can't the proc get deallocated ?

well.. thats why you hold the proc lock, isnt it? :)



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