diff --git a/base/include/base/allocator_avl.h b/base/include/base/allocator_avl.h index de7239176a..89b705cfb8 100644 --- a/base/include/base/allocator_avl.h +++ b/base/include/base/allocator_avl.h @@ -257,13 +257,15 @@ namespace Genode { { private: + enum { SLAB_BLOCK_SIZE = 256 * sizeof(addr_t) }; + /* * Pump up the Block class with custom meta-data type */ class Block : public Allocator_avl_base::Block, public BMDT { }; - Tslab _metadata; /* meta-data allocator */ - char _initial_md_block[1024]; /* first (static) meta-data block */ + Tslab _metadata; /* meta-data allocator */ + char _initial_md_block[SLAB_BLOCK_SIZE]; /* first (static) meta-data block */ public: