summaryrefslogtreecommitdiff
path: root/libpager/data-request.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/data-request.c')
-rw-r--r--libpager/data-request.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libpager/data-request.c b/libpager/data-request.c
index 0ac78f25..b160ea9c 100644
--- a/libpager/data-request.c
+++ b/libpager/data-request.c
@@ -35,7 +35,6 @@ _pager_seqnos_memory_object_data_request (mach_port_t object,
error_t err;
vm_address_t page;
int write_lock;
- struct anticipation *ant;
p = ports_lookup_port (0, object, _pager_class);
if (!p)
@@ -73,15 +72,6 @@ _pager_seqnos_memory_object_data_request (mach_port_t object,
goto allow_term_out;
}
- ant = _pager_check_anticipations (p, length, offset);
- if (ant)
- {
- memory_object_data_supply (p->memobjcntl, offset, ant->address,
- length, 0, VM_PROT_NONE, 1, MACH_PORT_NULL);
- free (ant);
- goto allow_term_out;
- }
-
_pager_pagemap_resize (p, offset + length);
/* If someone is paging this out right now, the disk contents are