Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 07:37:47 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200305121437.h4CEbl2a098662@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2003/05/12 07:37:47 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  Remove bogus locking from DDB's "show lockedvnods" command: using
  synchronization primitives from inside DDB is generally a bad idea,
  and in this case it frequently results in panics due to DDB commands
  being executed from the sio fast interrupt context on a serial
  console.  Replace the locking with a note that a lack of locking
  means that DDB may get see inconsistent views of the mount and vnode
  lists, which could also result in a panic.  More frequently,
  though, this avoids a panic than causes it.
  
  Discussed with ages ago:        bde
  Approved by:                    re (scottl)
  
  Revision  Changes    Path
  1.447     +7 -11     src/sys/kern/vfs_subr.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305121437.h4CEbl2a098662>