From 0834506881a4d7ee84ee43395a1360842a427b90 Mon Sep 17 00:00:00 2001 From: tholo Date: Wed, 22 Jan 1997 04:15:17 +0000 Subject: [PATCH] Don't fault a page in twice (first prefault, then vm_fault); the first was not neccecary (and actually caused some problems). --- sys/miscfs/procfs/procfs_mem.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c index dd443a9ab57..17cefd69958 100644 --- a/sys/miscfs/procfs/procfs_mem.c +++ b/sys/miscfs/procfs/procfs_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_mem.c,v 1.3 1997/01/07 05:37:35 tholo Exp $ */ +/* $OpenBSD: procfs_mem.c,v 1.4 1997/01/22 04:15:17 tholo Exp $ */ /* $NetBSD: procfs_mem.c,v 1.8 1996/02/09 22:40:50 christos Exp $ */ /* @@ -150,10 +150,6 @@ procfs_rwmem(p, uio) if (!error) vm_map_lookup_done(tmap, out_entry); -#ifdef __i386__ - pmap_prefault(map, pageno, PAGE_SIZE); -#endif - /* * Fault the page in... */ -- 2.20.1