HomeFreeBSD

Account the size of the vslock-ed memory by the thread.

Description

Account the size of the vslock-ed memory by the thread.
Assert that all such memory is unwired on return to usermode.

The count of the wired memory will be used to detect the copyout mode.

Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS331489: For vm_zone_stats() sysctl handler, do not drain sbuf calling
Branches
Unknown
Tags
Unknown