diff options
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r-- | sys/vm/vm_page.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 5807674..05323c1 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_page.h,v 1.67 1999/08/15 01:16:53 mjacob Exp $ + * $Id: vm_page.h,v 1.68 1999/08/15 05:36:43 alc Exp $ */ /* @@ -572,6 +572,18 @@ vm_page_dirty(vm_page_t m) m->dirty = VM_PAGE_BITS_ALL; } +/* + * vm_page_undirty: + * + * Set page to not be dirty. Note: does not clear pmap modify bits + */ + +static __inline void +vm_page_undirty(vm_page_t m) +{ + m->dirty = 0; +} + static __inline vm_page_t vm_page_list_find(int basequeue, int index, boolean_t prefer_zero) { |