heap: Reduce maximum chunk size to 1 MiB on 32bit
With the previous maximum, the heap would allocate chunks of up to 4 MiB, which may lead to overly large slack memory.
This commit is contained in:
parent
3968766170
commit
0d01fd829f
|
@ -34,7 +34,7 @@ namespace Genode {
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MIN_CHUNK_SIZE = 4*1024, /* in machine words */
|
MIN_CHUNK_SIZE = 4*1024, /* in machine words */
|
||||||
MAX_CHUNK_SIZE = 1024*1024
|
MAX_CHUNK_SIZE = 256*1024
|
||||||
};
|
};
|
||||||
|
|
||||||
class Dataspace : public List<Dataspace>::Element
|
class Dataspace : public List<Dataspace>::Element
|
||||||
|
|
Loading…
Reference in New Issue
Block a user