diff options
author | neel <neel@FreeBSD.org> | 2013-10-16 00:58:47 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2013-10-16 00:58:47 +0000 |
commit | 2d5c7e881ca033fc347da3e75f1c18da7564b82e (patch) | |
tree | bde6f2fe7f2d0b96e026d50ee17ce4e790ef4a59 /cddl/lib | |
parent | d07bb38bb464ad94cf6e6366267b483f932b19f8 (diff) | |
download | FreeBSD-src-2d5c7e881ca033fc347da3e75f1c18da7564b82e.zip FreeBSD-src-2d5c7e881ca033fc347da3e75f1c18da7564b82e.tar.gz |
Fix the witness warning that warned against calling uiomove() while holding
the 'vmmdev_mtx' in vmmdev_rw().
Rely on the 'si_threadcount' accounting to ensure that we never destroy the
VM device node while it has operations in progress (e.g. ioctl, mmap etc).
Reported by: grehan
Reviewed by: grehan
Diffstat (limited to 'cddl/lib')
0 files changed, 0 insertions, 0 deletions