aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-24 05:57:50 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-24 05:57:50 +0000
commit161a8f65190b457387b043e4c2ff26bc561fb758 (patch)
tree19cf93bc1b03194252128859cb8d37823607dc45
parentac4cd383caf99c657a01d89a95474776b4202409 (diff)
Notes
-rw-r--r--sys/vm/vm_page.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index c74af825a7e8a..7e27376244860 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.51 1999/01/21 10:06:24 dillon Exp $
+ * $Id: vm_page.h,v 1.52 1999/01/24 01:05:15 dillon Exp $
*/
/*
@@ -347,6 +347,11 @@ vm_page_wakeup(vm_page_t m)
vm_page_flash(m);
}
+/*
+ *
+ *
+ */
+
static __inline void
vm_page_io_start(vm_page_t m)
{
@@ -539,5 +544,19 @@ vm_page_sleep_busy(vm_page_t m, int also_m_busy, const char *msg)
return(FALSE);
}
+/*
+ * vm_page_dirty:
+ *
+ * make page all dirty
+ */
+
+static __inline void
+vm_page_dirty(vm_page_t m)
+{
+ KASSERT(m->queue - m->pc != PQ_CACHE, ("vm_page_dirty: page in cache!"));
+ m->dirty = VM_PAGE_BITS_ALL;
+}
+
+
#endif /* KERNEL */
#endif /* !_VM_PAGE_ */