diff options
author | jhb <jhb@FreeBSD.org> | 2015-05-08 19:43:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-05-08 19:43:37 +0000 |
commit | 0bf260e595825c4554b498bea4d9398ca220fae6 (patch) | |
tree | d176b6f450e6b2a4850db426a316e983e4fbe302 /sys/dev/iicbus | |
parent | 70fa1e4b0291df5e2d2746b2b78df73fdef587da (diff) | |
download | FreeBSD-src-0bf260e595825c4554b498bea4d9398ca220fae6.zip FreeBSD-src-0bf260e595825c4554b498bea4d9398ca220fae6.tar.gz |
Place VM objects on the object list when created and never remove them.
This is ok since objects come from a NOFREE zone and allows objects to
be locked while traversing the object list without triggering a LOR.
Ensure that objects on the list are marked DEAD while free or stillborn,
and that they have a refcount of zero. This required updating most of
the pagers to explicitly mark an object as dead when deallocating it.
(Only the vnode pager did this previously.)
Differential Revision: https://reviews.freebsd.org/D2423
Reviewed by: alc, kib (earlier version)
MFC after: 2 weeks
Sponsored by: Norse Corp, Inc.
Diffstat (limited to 'sys/dev/iicbus')
0 files changed, 0 insertions, 0 deletions