Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 09:04:43 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        smp@FreeBSD.org
Subject:   RE: kaboom...
Message-ID:  <XFMail.010730090443.jhb@FreeBSD.org>
In-Reply-To: <20010729153617.C44279-100000@wonky.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 29-Jul-01 Matthew Jacob wrote:
> ---------
> Shouldn't there be a PROC_LOC(p->p_pptr) prior to trying to touch or test
> stuff in the paren't PROC structure?

No.  p_pptr is also locked by the proctree lock, so holding the proctree lock
is sufficient to protect reads of p_pptr.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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