summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-08-25 04:20:05 +0000
committeralc <alc@FreeBSD.org>2002-08-25 04:20:05 +0000
commitd5f256dae2732558d27849edcff2edd6ee0fc897 (patch)
tree9e774de7b8e085e5217b328431e0a451c2d7200b /sys/vm
parent1bdbc52de73cf71badcb2564c142d3bd1b49eada (diff)
downloadFreeBSD-src-d5f256dae2732558d27849edcff2edd6ee0fc897.zip
FreeBSD-src-d5f256dae2732558d27849edcff2edd6ee0fc897.tar.gz
o Retire pmap_pageable(). It's an advisory routine that none
of our platforms implements.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/pmap.h1
-rw-r--r--sys/vm/vm_fault.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 23e3c43..2ea797e 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -113,7 +113,6 @@ void pmap_object_init_pt(pmap_t pmap, vm_offset_t addr,
int pagelimit);
boolean_t pmap_page_exists_quick(pmap_t pmap, vm_page_t m);
void pmap_page_protect(vm_page_t m, vm_prot_t prot);
-void pmap_pageable(pmap_t, vm_offset_t, vm_offset_t, boolean_t);
vm_offset_t pmap_phys_address(int);
void pmap_pinit(pmap_t);
void pmap_pinit0(pmap_t);
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index a7cec52..37ff142 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -932,12 +932,6 @@ vm_fault_wire(map, start, end, user_wire)
int rv;
/*
- * Inform the physical mapping system that the range of addresses may
- * not fault, so that page tables and such can be locked down as well.
- */
- pmap_pageable(map->pmap, start, end, FALSE);
-
- /*
* We simulate a fault to get the page and enter it in the physical
* map. For user wiring, we only ask for read access on currently
* read-only sections.
@@ -985,12 +979,6 @@ vm_fault_unwire(map, start, end)
}
}
mtx_unlock(&Giant);
-
- /*
- * Inform the physical mapping system that the range of addresses may
- * fault, so that page tables and such may be unwired themselves.
- */
- pmap_pageable(pmap, start, end, TRUE);
}
/*
OpenPOWER on IntegriCloud