summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-18 19:51:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-18 19:51:19 +0000
commitee2636007c340c6cd5459a370c28f1d640701ab2 (patch)
tree32376a81b620785e6128e38ed1e3a7b46bd4771f
parent84c1f72beb63c4a5c96d7cad35d67bb4ed3246c3 (diff)
(_pager_do_write_request): Don't track INIT bit for now.
-rw-r--r--libpager/data-return.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpager/data-return.c b/libpager/data-return.c
index 7cba17b8..865974e2 100644
--- a/libpager/data-return.c
+++ b/libpager/data-return.c
@@ -91,6 +91,7 @@ _pager_do_write_request (mach_port_t object,
pm_entries = &p->pagemap[offset / __vm_page_size];
/* Mark these pages as being paged out. */
+#if 0
if (initializing)
{
assert (npages <= 32);
@@ -105,6 +106,10 @@ _pager_do_write_request (mach_port_t object,
else
for (i = 0; i < npages; i++)
pm_entries[i] |= PM_PAGINGOUT | PM_INIT;
+#else
+ for (i = 0; i < npages; i++)
+ pm_entries[i] += PM_PAGINGOUT;
+#endif
/* If this write occurs while a lock is pending, record
it. We have to keep this list because a lock request