Mark caches of null areas temporary, so we don't try to write back modified

pages when deleting the area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37194 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-06-21 15:07:32 +00:00
parent 2a81a99203
commit 94226016cc
+1
View File
@@ -1642,6 +1642,7 @@ vm_create_null_area(team_id team, const char* name, void** address,
// tell the page scanner to skip over this area, no pages will be mapped
// here
cache->scan_skip = 1;
cache->temporary = 1;
cache->virtual_end = size;
cache->Lock();