From bccf1d15ab7d014c463b46b05e0b09fb513d7068 Mon Sep 17 00:00:00 2001 From: alc Date: Sat, 18 Oct 2003 21:09:21 +0000 Subject: - Increase the object lock's scope in vm_contig_launder() so that access to the object's type field and the call to vm_pageout_flush() are synchronized. - The above change allows for the eliminaton of the last parameter to vm_pageout_flush(). - Synchronize access to the page's valid field in vm_pageout_flush() using the containing object's lock. --- sys/vm/vm_pageout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/vm/vm_pageout.h') diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h index f0bb1bd..693eaff 100644 --- a/sys/vm/vm_pageout.h +++ b/sys/vm/vm_pageout.h @@ -108,6 +108,6 @@ void vm_proc_swapin_all(struct swdevt *); #endif /* !NO_SWAPPING */ #ifdef _KERNEL -int vm_pageout_flush(vm_page_t *, int, int, int is_object_locked); +int vm_pageout_flush(vm_page_t *, int, int); #endif #endif /* _VM_VM_PAGEOUT_H_ */ -- cgit v1.1