From 4a3b85f66796b330f61298e9c7752776958a175a Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Fri, 20 Jun 2025 17:40:11 +0200 Subject: [PATCH] mxtasking: Use larger chunks for task allocator. --- repos/ealanos/src/lib/mx/memory/fixed_size_allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/ealanos/src/lib/mx/memory/fixed_size_allocator.h b/repos/ealanos/src/lib/mx/memory/fixed_size_allocator.h index e32b11c7a3..b5abb40d91 100644 --- a/repos/ealanos/src/lib/mx/memory/fixed_size_allocator.h +++ b/repos/ealanos/src/lib/mx/memory/fixed_size_allocator.h @@ -50,7 +50,7 @@ public: explicit Chunk(void *memory, bool is_allocated) noexcept : _memory(memory), _is_allocated(is_allocated) {} ~Chunk() noexcept = default; - static constexpr auto size() { return 4096 * 4096; /* 16mb */ } + static constexpr auto size() { return 4 * 4096 * 4096; /* 16mb */ } explicit operator void *() const noexcept { return _memory; } explicit operator std::uintptr_t() const noexcept { return reinterpret_cast(_memory); }