diff options
author | kib <kib@FreeBSD.org> | 2010-07-04 11:26:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-07-04 11:26:56 +0000 |
commit | e902afedb2d82626bda84aa6a0695ff7a1c1fb35 (patch) | |
tree | 6785fecc0f6c72f19cc5b5dc83504dc4553bc6b4 /sys/vm/vm_pager.h | |
parent | 56b6a703a500930a3a82648d510bce10b2dc47de (diff) | |
download | FreeBSD-src-e902afedb2d82626bda84aa6a0695ff7a1c1fb35.zip FreeBSD-src-e902afedb2d82626bda84aa6a0695ff7a1c1fb35.tar.gz |
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
Diffstat (limited to 'sys/vm/vm_pager.h')
-rw-r--r-- | sys/vm/vm_pager.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 |