From owner-cvs-src@FreeBSD.ORG Mon Jun 9 11:03:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6E9737B4E3 for ; Mon, 9 Jun 2003 11:03:47 -0700 (PDT) Received: from mail.speakeasy.net (mail9.speakeasy.net [216.254.0.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EFD943FE0 for ; Mon, 9 Jun 2003 11:03:45 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 20108 invoked from network); 9 Jun 2003 18:03:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 9 Jun 2003 18:03:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h59I3hGI005158; Mon, 9 Jun 2003 14:03:43 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200306091738.h59HcXjk096482@repoman.freebsd.org> Date: Mon, 09 Jun 2003 14:03:43 -0400 (EDT) From: John Baldwin To: John Baldwin cc: cvs-src@FreeBSD.org cc: src-committers@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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 18:03:49 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/