HomeFreeBSD

swap_pager: Reduce the scope of the object lock in putpages

Description

swap_pager: Reduce the scope of the object lock in putpages

We don't need to hold the object lock while allocating swap space, so
don't.

Reviewed by: dougm, kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35839

Details

Provenance
alcAuthored on Jul 19 2022, 3:28 AM
Reviewer
dougm
Differential Revision
D35839: swap_pager: Reduce the scope of the object lock in putpages
Parents
rG0361f165f219: ipsec: replace SECASVAR mtx by rmlock
Branches
Unknown
Tags
Unknown