Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 11:50:36 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/osf1 osf1_misc.c osf1_signal.c
Message-ID:  <20010124115036.E26076@fw.wintelcom.net>
In-Reply-To: <XFMail.010124104135.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Wed, Jan 24, 2001 at 10:41:35AM -0800
References:  <20010124095504.X26076@fw.wintelcom.net> <XFMail.010124104135.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.org> [010124 10:42] wrote:
> 
> On 24-Jan-01 Alfred Perlstein wrote:
> > * John Baldwin <jhb@FreeBSD.org> [010124 02:28] wrote:
> >> jhb         2001/01/24 02:27:11 PST
> >> 
> >>   Modified files:
> >>     sys/alpha/osf1       osf1_misc.c osf1_signal.c 
> >>   Log:
> >>   Proc locking.
> > 
> > I thought you said you would stop locking read only structures?
> 
> If I know that they are read only.  I don't have the entire kernel
> memorized.  Any feedback on the locking comments in sys/proc.h would be
> welcome.  Are you saying that p_cred should be (b) instead of (c)?

Yes.

There are races, but they happen anyway.

Let's say process A is about to do a setuid and B is about to send
it a signal, you might as well let them race it out because it's
a race anyway.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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




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