diff options
author | dillon <dillon@FreeBSD.org> | 1999-02-07 21:48:23 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-02-07 21:48:23 +0000 |
commit | 98732ec693124cdb1b12cb82c7cf62606842becd (patch) | |
tree | 25825e99b42a8eca0faecacecba5e3b141b8a00d /sys/fs | |
parent | 08bf7e9a93f7b2296ab82a12c506d68b72cd35cf (diff) | |
download | FreeBSD-src-98732ec693124cdb1b12cb82c7cf62606842becd.zip FreeBSD-src-98732ec693124cdb1b12cb82c7cf62606842becd.tar.gz |
Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to
attempt to optimize forks but were essentially given-up on due to
problems and replaced with an explicit dup of the vm_map_entry structure.
Prior to the removal, they were entirely unused.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/procfs/procfs_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_map.c b/sys/fs/procfs/procfs_map.c index c27d955..3873070 100644 --- a/sys/fs/procfs/procfs_map.c +++ b/sys/fs/procfs/procfs_map.c @@ -36,7 +36,7 @@ * * @(#)procfs_status.c 8.3 (Berkeley) 2/17/94 * - * $Id: procfs_map.c,v 1.19 1999/01/21 08:29:06 dillon Exp $ + * $Id: procfs_map.c,v 1.20 1999/02/05 06:18:54 jdp Exp $ */ #include <sys/param.h> @@ -98,7 +98,7 @@ procfs_domap(curp, p, pfs, uio) int resident, privateresident; char *type; - if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) + if (entry->eflags & MAP_ENTRY_IS_SUB_MAP) continue; obj = entry->object.vm_object; |