Use large slabs for the page mappings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35247 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8d1316fd23
commit
148637e9d0
@ -3290,7 +3290,8 @@ vm_init(kernel_args* args)
|
||||
|
||||
// create the object cache for the page mappings
|
||||
gPageMappingsObjectCache = create_object_cache_etc("page mappings",
|
||||
sizeof(vm_page_mapping), 0, 0, 0, NULL, NULL, NULL, NULL);
|
||||
sizeof(vm_page_mapping), 0, 0, CACHE_LARGE_SLAB, NULL, NULL, NULL,
|
||||
NULL);
|
||||
if (gPageMappingsObjectCache == NULL)
|
||||
panic("failed to create page mappings object cache");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user