From owner-cvs-all Thu Dec 13 7:46:23 2001 Delivered-To: cvs-all@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id 2D12737B416; Thu, 13 Dec 2001 07:46:19 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id fBDFln218736; Thu, 13 Dec 2001 10:47:49 -0500 (EST) (envelope-from jake) Date: Thu, 13 Dec 2001 10:47:49 -0500 From: Jake Burkholder To: John Baldwin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_ktr.c src/sys/sys proc.h Message-ID: <20011213104749.A12719@locore.ca> References: <200112131033.fBDAXK720581@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112131033.fBDAXK720581@freefall.freebsd.org>; from jhb@FreeBSD.org on Thu, Dec 13, 2001 at 02:33:20AM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Apparently, On Thu, Dec 13, 2001 at 02:33:20AM -0800, John Baldwin said words to the effect of; > jhb 2001/12/13 02:33:20 PST > > Modified files: > sys/kern kern_ktr.c > sys/sys proc.h > Log: > Use a per-thread variable for keeping state when a thread is processing > a KTR log entry. Any KTR requests made while working on an entry are > ignored/discarded to prevent recursion. This is a better fix for the > hack to futz with the CPU mask and call getnanotime() if KTR_LOCK or > KTR_WITNESS was on. It also covers the actual formatting of the log entry > including dumping it to the display which the earlier hacks did not. This wouldn't be necessary if ktr was still inline and didn't call other functions. > > Revision Changes Path > 1.25 +8 -10 src/sys/kern/kern_ktr.c > 1.195 +1 -0 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message