From c32653f22684c08688df3f029932a4c9ab17e229 Mon Sep 17 00:00:00 2001 From: alc Date: Thu, 26 Apr 2007 05:48:17 +0000 Subject: 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. --- sys/vm/vm_map.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/vm/vm_map.c') 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) { -- cgit v1.1