diff --git a/src/system/kernel/slab/MemoryManager.cpp b/src/system/kernel/slab/MemoryManager.cpp index e9df60f602..e83ec0d192 100644 --- a/src/system/kernel/slab/MemoryManager.cpp +++ b/src/system/kernel/slab/MemoryManager.cpp @@ -603,8 +603,9 @@ MemoryManager::AllocateRaw(size_t size, uint32 flags, void*& _pages) (flags & CACHE_ALIGN_ON_SIZE) != 0 ? B_ANY_KERNEL_BLOCK_ADDRESS : B_ANY_KERNEL_ADDRESS, size, B_FULL_LOCK, B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, 0, - (flags & CACHE_DONT_WAIT_FOR_MEMORY) != 0 - ? CREATE_AREA_DONT_WAIT : 0); + ((flags & CACHE_DONT_WAIT_FOR_MEMORY) != 0 + ? CREATE_AREA_DONT_WAIT : 0) + | CREATE_AREA_DONT_CLEAR); return area >= 0 ? B_OK : area; }