From e902afedb2d82626bda84aa6a0695ff7a1c1fb35 Mon Sep 17 00:00:00 2001 From: kib Date: Sun, 4 Jul 2010 11:26:56 +0000 Subject: Reimplement vm_object_page_clean(), using the fact that vm object memq is ordered by page index. This greatly simplifies the implementation, since we no longer need to mark the pages with VPO_CLEANCHK to denote the progress. It is enough to remember the current position by index before dropping the object lock. Remove VPO_CLEANCHK and VM_PAGER_IGNORE_CLEANCHK as unused. Garbage-collect vm.msync_flush_flags sysctl. Suggested and reviewed by: alc Tested by: pho --- sys/vm/vm_pager.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/vm/vm_pager.h') diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h index 75d8f0a..519af42 100644 --- a/sys/vm/vm_pager.h +++ b/sys/vm/vm_pager.h @@ -90,7 +90,6 @@ extern struct pagerops sgpagerops; #define VM_PAGER_PUT_SYNC 0x0001 #define VM_PAGER_PUT_INVAL 0x0002 -#define VM_PAGER_IGNORE_CLEANCHK 0x0004 #define VM_PAGER_CLUSTER_OK 0x0008 #ifdef _KERNEL -- cgit v1.1