diff options
author | kib <kib@FreeBSD.org> | 2014-08-20 08:24:37 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-08-20 08:24:37 +0000 |
commit | 68885db3a43102cad225553e8d7f23af4425b341 (patch) | |
tree | 2c8898ed67fcbda81c0187d621aafc5d99c34a8b /sys/vm/vm_glue.c | |
parent | c4195049f50843730d019b09549639061baee9f3 (diff) | |
download | FreeBSD-src-68885db3a43102cad225553e8d7f23af4425b341.zip FreeBSD-src-68885db3a43102cad225553e8d7f23af4425b341.tar.gz |
MFC r269907:
Fix leaks of unqueued unwired pages.
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r-- | sys/vm/vm_glue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 4512039..9e8995f 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -251,6 +251,7 @@ vm_imgact_hold_page(vm_object_t object, vm_ooffset_t offset) vm_page_xunbusy(m); vm_page_lock(m); vm_page_hold(m); + vm_page_activate(m); vm_page_unlock(m); out: VM_OBJECT_WUNLOCK(object); |