mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user