diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-01-22 04:15:18 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-01-22 04:15:18 +0000 |
commit | a9e09109262e2e5ce2515217ce11d110eb901ad1 (patch) | |
tree | dac565a72da257ad2b27155e346e3cec5fc5182d | |
parent | bf4dbea5a2d6357fc543f296c3ae3dee3d1e28ec (diff) |
Don't fault a page in twice (first prefault, then vm_fault); the first was
not neccecary (and actually caused some problems).
-rw-r--r-- | sys/miscfs/procfs/procfs_mem.c | 6 |
1 files changed, 1 insertions, 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... */ |