summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-26 21:16:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-26 21:16:07 +0000
commitfaf71367a83d32cfbc83199aae52d57842637ccf (patch)
tree463f56b26a9a22f27c5e1bedac89cc1a5bdad09e
parent8cf0e0601c512a97114baa2ccde605054841afeb (diff)
(_pager_do_write_request): Revert.
-rw-r--r--libpager/data-return.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libpager/data-return.c b/libpager/data-return.c
index 5d64fe41..709f9de2 100644
--- a/libpager/data-return.c
+++ b/libpager/data-return.c
@@ -45,7 +45,6 @@ _pager_do_write_request (mach_port_t object,
struct lock_list *next;} *lock_list, *ll;
int wakeup;
int omitdata = 0;
- struct anticipation *ant;
p = ports_lookup_port (0, object, _pager_class);
if (!p)
@@ -87,13 +86,6 @@ _pager_do_write_request (mach_port_t object,
_pager_block_termination (p); /* until we are done with the pagemap
when the write completes. */
- ant = _pager_check_anticitpations (p, length, offset);
- if (ant)
- {
- vm_deallocate (mach_task_self (), ant->address, ant->length);
- free (ant);
- }
-
_pager_pagemap_resize (p, offset + length);
pm_entries = &p->pagemap[offset / __vm_page_size];