Enlarged the kernel heap to 16 MB.
This will keep it alive longer until a) the block cache no longer uses the heap, and b) we get a better heap without a fixed size. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d260b2c469
commit
18b6200e54
@ -1,16 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
* Copyright 2002-2005, Axel Dörfler, axeld@pinc-software.de.
|
||||||
** Distributed under the terms of the NewOS License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*
|
||||||
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
|
* Distributed under the terms of the NewOS License.
|
||||||
|
*/
|
||||||
#ifndef _KERNEL_MEMHEAP_H
|
#ifndef _KERNEL_MEMHEAP_H
|
||||||
#define _KERNEL_MEMHEAP_H
|
#define _KERNEL_MEMHEAP_H
|
||||||
|
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
|
||||||
struct kernel_args;
|
struct kernel_args;
|
||||||
|
|
||||||
#define HEAP_SIZE 0x00400000
|
|
||||||
// 4 MB heap for the kernel
|
#define HEAP_SIZE 0x01000000
|
||||||
|
// 16 MB heap for the kernel
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user