cvs commit: src/sys/kern vfs_subr.c
Robert Watson
rwatson at FreeBSD.org
Mon May 12 07:37:49 PDT 2003
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
More information about the cvs-src
mailing list