* vm_map_physical_memory() now sets the wiring/locking type of the area created

to B_FULL_LOCK.
* vm_clone_area() now respects the source area's wiring and inherits it. This
  should fix bug #1055.
* vm_cache::type is now duplicated in vm_area::cache_type - this allows looking
  it up without having to lock a vm_cache_ref; this also solves a locking bug
  in vm_unmap_pages() in this regard.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20281 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-03-01 13:44:55 +00:00
parent ccfc8a3dcb
commit 0c12332715
2 changed files with 53 additions and 15 deletions
+1
View File
@@ -158,6 +158,7 @@ typedef struct vm_area {
struct vm_cache_ref *cache_ref;
off_t cache_offset;
uint32 cache_type;
vm_area_mappings mappings;
struct vm_address_space *address_space;