HomeFreeBSD

Permit vm_pager_has_page() to run with a shared lock. Introduce

Description

Permit vm_pager_has_page() to run with a shared lock. Introduce
VM_OBJECT_DROP/VM_OBJECT_PICKUP to handle functions that are called with
uncertain lock state.

Reviewed by: kib, markj
Tested by: pho
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21310

Details

Provenance
jeffAuthored on
Reviewer
kib
Differential Revision
D21310: Allow calls to vm_pager_haspages with the object read locked
Parents
rS351234: MFC 348874: Remove an overly-aggressive assertion.
Branches
Unknown
Tags
Unknown