HomeFreeBSD

Ensure that m and skip_m belong to the same object.

Description

Ensure that m and skip_m belong to the same object.

Pages allocated from a given reservation may belong to different
objects. It is therefore possible for vm_page_ps_test() to be called
with the base page's object unlocked. Check for this case before
asserting that the object lock is held.

Reported by: jhb
Reviewed by: kib
MFC after: 1 week

Details

Provenance
markjAuthored on
Reviewer
kib
Parents
rS332657: Properly do a deep copy of the ioctls capability array for fget_cap().
Branches
Unknown
Tags
Unknown