summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-08-09 19:52:29 +0000
committergreen <green@FreeBSD.org>2004-08-09 19:52:29 +0000
commita5ad2c7311f16f97a1f73979745fb3d04954bcf1 (patch)
tree0f9f4555aa1609f619f6959c0e2ee91ce1c41b78 /sys/kern/kern_proc.c
parentc6d05f34ef4b65ea65d7042b7ac24d2586eb4ba4 (diff)
downloadFreeBSD-src-a5ad2c7311f16f97a1f73979745fb3d04954bcf1.zip
FreeBSD-src-a5ad2c7311f16f97a1f73979745fb3d04954bcf1.tar.gz
Revamp VM map wiring.
* Allow no-fault wiring/unwiring to succeed for consistency; however, the wired count remains at zero, so it's a special case. * Fix issues inside vm_map_wire() and vm_map_unwire() where the exact state of user wiring (one or zero) and system wiring (zero or more) could be confused; for example, system unwiring could succeed in removing a user wire, instead of being an error. * Require all mappings to be unwired before they are deleted. When VM space is still wired upon deletion, it will be waited upon for the following unwire. This makes vslock(9) work rather than allowing kernel-locked memory to be deleted out from underneath of its consumer as it would before.
Diffstat (limited to 'sys/kern/kern_proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud