Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 14:03:43 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_ktr.c kern_ktrace.c kern_sig.c src/sys/sys ktrace.h proc.h
Message-ID:  <XFMail.20030609140343.jhb@FreeBSD.org>
In-Reply-To: <200306091738.h59HcXjk096482@repoman.freebsd.org>

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

On 09-Jun-2003 John Baldwin wrote:
> jhb         2003/06/09 10:38:33 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_ktr.c kern_ktrace.c kern_sig.c 
>     sys/sys              ktrace.h proc.h 
>   Log:
>   - Add a td_pflags field to struct thread for private flags accessed only by
>     curthread.  Unlike td_flags, this field does not need any locking.
>   - Replace the td_inktr and td_inktrace variables with equivalent private
>     thread flags.
>   - Move TDF_OLDMASK over to the private flags field so it no longer requires
>     sched_lock.

I've also moved P_COWINPROGRESS to TDP_COWINPROGRESS in the jhb_proc
patch and intend to commit that if no one has any objections.  The
P_COWINPROGRESS only has thread-wide scope by my reading and it is
the only remaining user of p_flag whose write accesses are not locked
by the proc lock.  I'd rather move it and not need locks for it then
add a bunch of proc locks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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