diff options
author | alc <alc@FreeBSD.org> | 2016-11-06 17:17:52 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2016-11-06 17:17:52 +0000 |
commit | 476fa99d66ff006a890ec0755cee69ff5fb89759 (patch) | |
tree | f2e9342959e9d2b3ce74f05c83eb0e5b6eaef6cf /sys/dev/usb/controller/ohci_pci.c | |
parent | 5ecc49001aa5a77acdb3e56e4295a20654f15915 (diff) | |
download | FreeBSD-src-476fa99d66ff006a890ec0755cee69ff5fb89759.zip FreeBSD-src-476fa99d66ff006a890ec0755cee69ff5fb89759.tar.gz |
MFC r308174, r308261
Move and revise a comment about the relation between the object's paging-
in-progress count and the vnode. Prior to r188331, we always acquired
the vnode lock before incrementing the object's paging-in-progress count.
Now, we increment it before attempting to acquire the vnode lock with
LK_NOWAIT, but we never sleep acquiring the vnode lock while we have the
count incremented.
In vm_fault()'s loop over the shadow chain, move a comment describing our
invariants to a better place. Also, add two comments concerning the
relationship between the map and vnode locks.
Diffstat (limited to 'sys/dev/usb/controller/ohci_pci.c')
0 files changed, 0 insertions, 0 deletions