Flushing the translation map is done automatically on unlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
abc649b868
commit
b200275472
@ -1437,7 +1437,6 @@ _vm_put_area(vm_area *area, bool aspaceLocked)
|
||||
vm_translation_map *map = &addressSpace->translation_map;
|
||||
map->ops->lock(map);
|
||||
map->ops->unmap(map, area->base, area->base + (area->size - 1));
|
||||
map->ops->flush(map);
|
||||
map->ops->unlock(map);
|
||||
|
||||
// ToDo: do that only for vnode stores
|
||||
@ -3650,7 +3649,6 @@ resize_area(area_id areaID, size_t newSize)
|
||||
|
||||
map->ops->lock(map);
|
||||
map->ops->unmap(map, current->base + newSize, current->base + oldSize - 1);
|
||||
map->ops->flush(map);
|
||||
map->ops->unlock(map);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user