Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 02:33:20 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_ktr.c src/sys/sys proc.h
Message-ID:  <200112131033.fBDAXK720581@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  
  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?200112131033.fBDAXK720581>