Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 11:25:16 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mutex.c
Message-ID:  <200209031825.g83IPG4U068304@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/09/03 11:25:16 PDT

  Modified files:
    sys/kern             kern_mutex.c 
  Log:
  Add some KASSERT()'s to ensure that we don't perform spin mutex ops on
  sleep mutexes and vice versa.  WITNESS normally should catch this but
  not everyone uses WITNESS so this is a fallback to catch nasty but easy
  to do bugs.
  
  Revision  Changes    Path
  1.106     +16 -4     src/sys/kern/kern_mutex.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?200209031825.g83IPG4U068304>