HomeFreeBSD

In swap_pager_putpages, move the initialization of a free-blocks

Description

In swap_pager_putpages, move the initialization of a free-blocks
counter, and the final freeing of freed swap blocks, outside the
region where an object lock is held. Correct some style(9) and
spelling errors. Change a panic() to a KASSERT(). Change a boolean_t
to a bool.

Suggested by: alc
Reviewed by: alc
Approved by: kib, markj (mentors)
Differential Revision: https://reviews.freebsd.org/D21093

Details

Committed
dougmJul 28 2019, 7:32 PM
Reviewer
alc
Differential Revision
D21093: tidy up swap_pager_putpages
Parents
rS350391: MFHead @350390
Branches
Unknown
Tags
Unknown