Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 10:47:49 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        John Baldwin <jhb@FreeBSD.org>
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>
In-Reply-To: <200112131033.fBDAXK720581@freefall.freebsd.org>; from jhb@FreeBSD.org on Thu, Dec 13, 2001 at 02:33:20AM -0800
References:  <200112131033.fBDAXK720581@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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