HomeFreeBSD

Place VM objects on the object list when created and never remove them.

Description

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.

Details

Provenance
jhbAuthored on
Reviewer
alc
Differential Revision
D2423: Place VM objects on the object list when created and never remove them.
Parents
rS282659: Remove 'XXX' comment.
Branches
Unknown
Tags
Unknown