mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
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
@ -33,8 +33,8 @@ namespace Genode {
|
||||
private:
|
||||
|
||||
enum {
|
||||
MIN_CHUNK_SIZE = 4*1024, /* in machine words */
|
||||
MAX_CHUNK_SIZE = 1024*1024
|
||||
MIN_CHUNK_SIZE = 4*1024, /* in machine words */
|
||||
MAX_CHUNK_SIZE = 256*1024
|
||||
};
|
||||
|
||||
class Dataspace : public List<Dataspace>::Element
|
||||
|
Loading…
x
Reference in New Issue
Block a user