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

Provenance
dougmAuthored on Jul 28 2019, 7:32 PM
Parents
rGe7d8ebc8cafb: Better comments for vlrureclaim
Branches
Unknown
Tags
Unknown

Event Timeline