Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 20:32:05 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_ktr.c src/sys/sys ktr.h
Message-ID:  <XFMail.010626203205.jhb@FreeBSD.org>
In-Reply-To: <200106252309.f5PN9Wn65534@freefall.freebsd.org>

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

On 25-Jun-01 John Baldwin wrote:
> jhb         2001/06/25 16:09:32 PDT
> 
>   Modified files:
>     sys/kern             kern_ktr.c 
>     sys/sys              ktr.h 
>   Log:
>   ...
>   - Fiddle with the ktr_cpumask in ktr_tracepoint() to disable KTR events
>     on the current CPU while we are processing an event.

In theory this means that using nanotime instead of getnanotime in the KTR_LOCK
and/or KTR_WITNESS cases shouldn't recurse anymore, and in fact, it works fine
on the alpha, but on x86 I still get weird double fault panics (I assume from
exhausting the stack) and haven't been able to get a useful traceback or
anything else to figure out where and why it is breaking, so I've left the hack
to use getnanotime in for now.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.010626203205.jhb>