Unconditionally log when the memory manager creates/deletes areas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35330 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1207,8 +1207,8 @@ MemoryManager::_AllocateArea(uint32 flags, Area*& _area)
|
||||
return error;
|
||||
}
|
||||
|
||||
TRACE("MemoryManager::_AllocateArea(): allocated area %p (%" B_PRId32
|
||||
")\n", area, areaID);
|
||||
dprintf("slab memory manager: created area %p (%" B_PRId32 ")\n", area,
|
||||
areaID);
|
||||
} else {
|
||||
// no areas yet -- allocate raw memory
|
||||
area = (Area*)vm_allocate_early(sKernelArgs, SLAB_AREA_SIZE,
|
||||
@@ -1293,6 +1293,9 @@ MemoryManager::_FreeArea(Area* area, bool areaRemoved, uint32 flags)
|
||||
|
||||
mutex_unlock(&sLock);
|
||||
|
||||
dprintf("slab memory manager: deleting area %p (%" B_PRId32 ")\n", area,
|
||||
area->vmArea->id);
|
||||
|
||||
delete_area(area->vmArea->id);
|
||||
vm_unreserve_memory(area->reserved_memory_for_mapping);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user