kib e9862013d8 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
2018-03-24 13:51:27 +00:00
..
2017-11-30 15:45:42 +00:00
2018-01-12 22:57:57 +00:00
2018-02-07 16:57:10 +00:00
2018-02-07 16:57:10 +00:00