diff options
author | Richard Braun <rbraun@sceen.net> | 2016-06-07 15:12:18 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-06-07 15:14:47 +0200 |
commit | c89365ecc6c06d98511bc947cd680c5f1ae91383 (patch) | |
tree | f788a99b0fcad028327596d70e9870ee90ac724d /vm | |
parent | d9cdc4bfefde848403a05fc3d342822c04a015bc (diff) | |
download | gnumach-c89365ecc6c06d98511bc947cd680c5f1ae91383.tar.gz gnumach-c89365ecc6c06d98511bc947cd680c5f1ae91383.tar.bz2 gnumach-c89365ecc6c06d98511bc947cd680c5f1ae91383.zip |
Fix deadlock
* vm/vm_map.c (vm_map_copyout_page_list): Fix call to
vm_map_find_entry_anywhere to avoid relocking VM map.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index 7a905517..4476812d 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -2789,7 +2789,7 @@ kern_return_t vm_map_copyout_page_list( vm_map_lock(dst_map); - last = vm_map_find_entry_anywhere(dst_map, size, 0, FALSE, &start); + last = vm_map_find_entry_anywhere(dst_map, size, 0, TRUE, &start); if (last == NULL) { vm_map_unlock(dst_map); |