Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 15:13:15 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sx.c src/sys/sys sx.h
Message-ID:  <200103062313.f26NDFd42153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/03/06 15:13:15 PST

  Modified files:
    sys/kern             kern_sx.c 
    sys/sys              sx.h 
  Log:
  In order to avoid recursing on the backing mutex for sx locks in the
  INVARIANTS case, define the actual KASSERT() in _SX_ASSERT_[SX]LOCKED
  macros that are used in the sx code itself and convert the
  SX_ASSERT_[SX]LOCKED macros to simple wrappers that grab the mutex for the
  duration of the check.
  
  Revision  Changes    Path
  1.3       +3 -3      src/sys/kern/kern_sx.c
  1.5       +11 -3     src/sys/sys/sx.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?200103062313.f26NDFd42153>