Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 18:22:42 -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 kern_sx.c
Message-ID:  <200110200122.f9K1Mgk29798@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/10/19 18:22:42 PDT

  Modified files:
    sys/kern             kern_mutex.c kern_sx.c 
  Log:
  The mtx_init() and sx_init() functions bzero'd locks before handing them
  off to witness_init() making the check for double intializating a lock by
  testing the LO_INITIALIZED flag moot.  Workaround this by checking the
  LO_INITIALIZED flag ourself before we bzero the lock structure.
  
  Revision  Changes    Path
  1.72      +4 -2      src/sys/kern/kern_mutex.c
  1.11      +4 -2      src/sys/kern/kern_sx.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?200110200122.f9K1Mgk29798>