Author: bonefish Date: 2010-06-21 17:07:32 +0200 (Mon, 21 Jun 2010) New Revision: 37194 Changeset: http://dev.haiku-os.org/changeset/37194/haiku Modified: haiku/trunk/src/system/kernel/vm/vm.cpp Log: Mark caches of null areas temporary, so we don't try to write back modified pages when deleting the area. Modified: haiku/trunk/src/system/kernel/vm/vm.cpp =================================================================== --- haiku/trunk/src/system/kernel/vm/vm.cpp 2010-06-21 14:43:42 UTC (rev 37193) +++ haiku/trunk/src/system/kernel/vm/vm.cpp 2010-06-21 15:07:32 UTC (rev 37194) @@ -1642,6 +1642,7 @@ // 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();