diff options
author | kib <kib@FreeBSD.org> | 2006-09-18 13:23:08 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-09-18 13:23:08 +0000 |
commit | ecf34f450410ca3aac345b52bece9c0fb4ae459c (patch) | |
tree | a22547e48d6aa3545a66b54d100fbcab374bd630 /usr.bin/kdump/mksubr | |
parent | e84508ee5e22076fddd4af5d0ca3092768e7e584 (diff) | |
download | FreeBSD-src-ecf34f450410ca3aac345b52bece9c0fb4ae459c.zip FreeBSD-src-ecf34f450410ca3aac345b52bece9c0fb4ae459c.tar.gz |
Resolve the devfs deadlock caused by LOR between devfs_mount->dm_lock and
vnode lock in devfs_allocv. Do this by temporary dropping dm_lock around
vnode locking.
For safe operation, add hold counters for both devfs_mount and devfs_dirent,
and DE_DOOMED flag for devfs_dirent. The facilities allow to continue after
dropping of the dm_lock, by making sure that referenced memory does not
disappear.
Reviewed by: tegge
Tested by: kris
Approved by: kan (mentor)
PR: kern/102335
Diffstat (limited to 'usr.bin/kdump/mksubr')
0 files changed, 0 insertions, 0 deletions