HomeFreeBSD

Do not lock vm map in swapout_procs().

Description

Do not lock vm map in swapout_procs().

Neither swapout_procs() nor swapout() access the map. Since the
process' vmspace is referenced only to obtain the pointer to the
vm_map, the reference is not needed as well.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D13681

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D13681: Do not lock vm map in swapout_procs().
Parents
rS327358: Add support for 64-bit PowerPC kernels to be directly loaded by kexec, which
Branches
Unknown
Tags
Unknown