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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user