From 794553172bba064691d1e2c2beb861de88f2ec12 Mon Sep 17 00:00:00 2001 From: alc Date: Wed, 22 Oct 2003 18:41:32 +0000 Subject: - Retire vm_pageout_page_free(). Instead, use vm_page_select_cache() from vm_pageout_scan(). Rationale: I don't like leaving a busy page in the cache queue with neither the vm object nor the vm page queues lock held. - Assert that the page is active in vm_pageout_page_stats(). --- sys/vm/vm_page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/vm/vm_page.c') diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 58ea6f2..56c1c23 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -698,7 +698,7 @@ vm_page_rename(vm_page_t m, vm_object_t new_object, vm_pindex_t new_pindex) * This routine must be called at splvm(). * This routine may not block. */ -static vm_page_t +vm_page_t vm_page_select_cache(int color) { vm_page_t m; -- cgit v1.1