* vm_create_anonymous_area() now accepts B_ANY_KERNEL_BLOCK_ADDRESS.

* As a temporary work-around for the current slab allocator's area usage,
  I added the CACHE_LARGE_SLAB flag, which will force the allocator to 
  use larger areas.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23564 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-01-16 20:30:16 +00:00
parent abf34addc5
commit c6ee79ce38
3 changed files with 23 additions and 8 deletions
+3 -3
View File
@@ -1,9 +1,8 @@
/*
* Copyright 2008, Axel Dörfler. All Rights Reserved.
* Copyright 2007, Hugo Santos. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Hugo Santos, [email protected]
* Distributed under the terms of the MIT License.
*/
#ifndef _SLAB_SLAB_H_
#define _SLAB_SLAB_H_
@@ -17,6 +16,7 @@ enum {
/* create_object_cache_etc flags */
CACHE_NO_DEPOT = 1 << 0,
CACHE_UNLOCKED_PAGES = 1 << 1,
CACHE_LARGE_SLAB = 1 << 2,
/* object_cache_alloc flags */
CACHE_DONT_SLEEP = 1 << 8,