diff options
author | tegge <tegge@FreeBSD.org> | 2000-11-02 21:38:18 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2000-11-02 21:38:18 +0000 |
commit | 5262a5cdb7dfd2f2a2e8cfc15c1404a17a0caa89 (patch) | |
tree | dafe18fac781496f56d35c6103dd7bacba768ab2 /sys/vm/vm_map.c | |
parent | 4e063f553471c4c75d185894232cce516553505b (diff) | |
download | FreeBSD-src-5262a5cdb7dfd2f2a2e8cfc15c1404a17a0caa89.zip FreeBSD-src-5262a5cdb7dfd2f2a2e8cfc15c1404a17a0caa89.tar.gz |
Clear the MAP_ENTRY_USER_WIRED flag from cloned vm_map entries.
PR: 2840
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index e5b50d2..8aa25e2 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -2149,6 +2149,7 @@ vmspace_fork(vm1) */ new_entry = vm_map_entry_create(new_map); *new_entry = *old_entry; + new_entry->eflags &= ~MAP_ENTRY_USER_WIRED; new_entry->wired_count = 0; /* @@ -2175,6 +2176,7 @@ vmspace_fork(vm1) */ new_entry = vm_map_entry_create(new_map); *new_entry = *old_entry; + new_entry->eflags &= ~MAP_ENTRY_USER_WIRED; new_entry->wired_count = 0; new_entry->object.vm_object = NULL; vm_map_entry_link(new_map, new_map->header.prev, |