summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-01-24 10:14:09 +0000
committerdg <dg@FreeBSD.org>1995-01-24 10:14:09 +0000
commita9e08ab1e382c62f084401bff2ad5528a3b71e3e (patch)
treea53b9363f7e1cd0fe0867d24dd5952593915453e /sys/vm/vm_map.c
parentcba22c2c7d66e22200f82b02a38eb994e4eb64b3 (diff)
downloadFreeBSD-src-a9e08ab1e382c62f084401bff2ad5528a3b71e3e.zip
FreeBSD-src-a9e08ab1e382c62f084401bff2ad5528a3b71e3e.tar.gz
Added ability to detect sequential faults and DTRT. (swap_pager.c)
Added hook for pmap_prefault() and use symbolic constant for new third argument to vm_page_alloc() (vm_fault.c, various) Changed the way that upages and page tables are held. (vm_glue.c) Fixed architectural flaw in allocating pages at interrupt time that was introduced with the merged cache changes. (vm_page.c, various) Adjusted some algorithms to acheive better paging performance and to accomodate the fix for the architectural flaw mentioned above. (vm_pageout.c) Fixed pbuf handling problem, changed policy on handling read-behind page. (vnode_pager.c) Submitted by: John Dyson
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index ec7bb5a..5ba5895 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.10 1995/01/09 16:05:45 davidg Exp $
+ * $Id: vm_map.c,v 1.11 1995/01/10 07:32:46 davidg Exp $
*/
/*
@@ -313,7 +313,8 @@ vm_map_entry_create(map)
vm_page_t m;
m = vm_page_alloc(kmem_object,
- mapvm - vm_map_min(kmem_map), 0);
+ mapvm - vm_map_min(kmem_map),
+ (map == kmem_map) ? VM_ALLOC_INTERRUPT : VM_ALLOC_NORMAL);
if (m) {
int newentries;
OpenPOWER on IntegriCloud