diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-05-12 14:37:47 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-05-12 14:37:47 +0000 |
commit | c21d149f29c38c8ba5f7b5a459b8087f179b6e0c (patch) | |
tree | c18fdc38afe72cccc47b907170cbd817b1c16198 /sys/kern/init_main.c | |
parent | 47dcc36fd06a006106b0e02663b524bb0d874ac5 (diff) | |
download | FreeBSD-src-c21d149f29c38c8ba5f7b5a459b8087f179b6e0c.zip FreeBSD-src-c21d149f29c38c8ba5f7b5a459b8087f179b6e0c.tar.gz |
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)
Diffstat (limited to 'sys/kern/init_main.c')
0 files changed, 0 insertions, 0 deletions