diff options
author | zont <zont@FreeBSD.org> | 2012-08-30 08:03:33 +0000 |
---|---|---|
committer | zont <zont@FreeBSD.org> | 2012-08-30 08:03:33 +0000 |
commit | 2f4305a824550e60ecee3d69dc0198140086a961 (patch) | |
tree | 41e1086532f8a3d685b38255e0f60802db0a8bf1 | |
parent | bfc4fdf5790e39efc1ca87da341876c283172859 (diff) | |
download | FreeBSD-src-2f4305a824550e60ecee3d69dc0198140086a961.zip FreeBSD-src-2f4305a824550e60ecee3d69dc0198140086a961.tar.gz |
- Remove accounting of locked memory from vsunlock(9) that I missed in r239818.
Approved by: kib (mentor)
-rw-r--r-- | sys/vm/vm_glue.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index a7eba80..ef44351 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -224,13 +224,6 @@ vsunlock(void *addr, size_t len) (void)vm_map_unwire(&curproc->p_vmspace->vm_map, trunc_page((vm_offset_t)addr), round_page((vm_offset_t)addr + len), VM_MAP_WIRE_SYSTEM | VM_MAP_WIRE_NOHOLES); - -#ifdef RACCT - PROC_LOCK(curproc); - racct_set(curproc, RACCT_MEMLOCK, - ptoa(pmap_wired_count(vm_map_pmap(&curproc->p_vmspace->vm_map)))); - PROC_UNLOCK(curproc); -#endif } /* |