diff options
author | green <green@FreeBSD.org> | 2004-05-07 11:43:24 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-05-07 11:43:24 +0000 |
commit | 129c6b32bf78781f20553ed0e32e047cc307c838 (patch) | |
tree | 4a1bffa5577ad31488c83bcbb79cd95c41d54a9e /sys/vm | |
parent | 1e881321c1864b9e3e4d652b2c4a8cf53a8716f5 (diff) | |
download | FreeBSD-src-129c6b32bf78781f20553ed0e32e047cc307c838.zip FreeBSD-src-129c6b32bf78781f20553ed0e32e047cc307c838.tar.gz |
In r1.190, vslock() and vsunlock() were bogusly made to do a "user wire"
and a "system unwire." Make this a "system wire" and "system unwire."
Reviewed by: alc
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index b8f284c..b625615 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -216,7 +216,7 @@ vslock(void *addr, size_t len) return (EAGAIN); #endif error = vm_map_wire(&curproc->p_vmspace->vm_map, start, end, - VM_MAP_WIRE_USER | VM_MAP_WIRE_NOHOLES); + VM_MAP_WIRE_SYSTEM | VM_MAP_WIRE_NOHOLES); /* * Return EFAULT on error to match copy{in,out}() behaviour * rather than returning ENOMEM like mlock() would. |