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/kern/imgact_elf.c | |
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/kern/imgact_elf.c')
-rw-r--r-- | sys/kern/imgact_elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 76735b5..38f70d9 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.c,v 1.50 1999/02/05 03:47:47 newton Exp $ + * $Id: imgact_elf.c,v 1.51 1999/02/05 22:24:26 jdp Exp $ */ #include "opt_rlimit.h" @@ -844,7 +844,7 @@ each_writable_segment(p, func, closure) entry = entry->next) { vm_object_t obj; - if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP) || + if ((entry->eflags & MAP_ENTRY_IS_SUB_MAP) || (entry->protection & (VM_PROT_READ|VM_PROT_WRITE)) != (VM_PROT_READ|VM_PROT_WRITE)) continue; |