Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 00:29:55 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_witness.c
Message-ID:  <200201050829.g058Tt669179@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/01/05 00:29:55 PST

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  Remove brain damaged code in witness_lock().  We could have easily
  just used PCPU_GET(spinlocks) w/o needing the w_mtx held.  It is more
  correct to just check td_critnest now though.
  
  Revision  Changes    Path
  1.94      +3 -16     src/sys/kern/subr_witness.c

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?200201050829.g058Tt669179>