diff options
Diffstat (limited to 'vm/vm_pageout.c')
-rw-r--r-- | vm/vm_pageout.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index 661675f0..eb75b975 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -750,7 +750,12 @@ void vm_pageout_scan() reclaim_page: vm_page_free(m); vm_page_unlock_queues(); - vm_object_unlock(object); + + if (vm_object_collectable(object)) + vm_object_collect(object); + else + vm_object_unlock(object); + continue; } |