summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2007-04-26 05:48:17 +0000
committeralc <alc@FreeBSD.org>2007-04-26 05:48:17 +0000
commitc32653f22684c08688df3f029932a4c9ab17e229 (patch)
tree159d5ff11e5c8971acb2e61c671bd45d6e423002 /sys/vm/vm_map.c
parent961de35e83c5b4522bdaaa8fe3be8b5120d0fc83 (diff)
downloadFreeBSD-src-c32653f22684c08688df3f029932a4c9ab17e229.zip
FreeBSD-src-c32653f22684c08688df3f029932a4c9ab17e229.tar.gz
Remove some code from vmspace_fork() that became redundant after
revision 1.334 modified _vm_map_init() to initialize the new vm map's flags to zero.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 0eae540..d22bcb0 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -2565,10 +2565,6 @@ vmspace_fork(struct vmspace *vm1)
new_map = &vm2->vm_map; /* XXX */
new_map->timestamp = 1;
- /* Do not inherit the MAP_WIREFUTURE property. */
- if ((new_map->flags & MAP_WIREFUTURE) == MAP_WIREFUTURE)
- new_map->flags &= ~MAP_WIREFUTURE;
-
old_entry = old_map->header.next;
while (old_entry != &old_map->header) {
OpenPOWER on IntegriCloud