Skip to content

fix: support MemoryArena allocations up to 4GB - #62

Merged
eeeebbbbrrrr merged 4 commits into
mainfrom
eebbrr/memory-arena-limit
Sep 19, 2025
Merged

fix: support MemoryArena allocations up to 4GB#62
eeeebbbbrrrr merged 4 commits into
mainfrom
eebbrr/memory-arena-limit

Conversation

@eeeebbbbrrrr

Copy link
Copy Markdown

A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test

A MemoryArena should support allocations up to 4GB and
#60 broke this by not accounting
for the "max page id" when pages are now 50% the size of what the
originally were.

This cleans up the code so things stay in sync if we change
NUM_BITS_PAGE_ADDR again and adds a unit test
Comment thread stacker/src/memory_arena.rs Outdated
Signed-off-by: Eric Ridge <eebbrr@gmail.com>
Comment thread stacker/src/memory_arena.rs
@eeeebbbbrrrr
eeeebbbbrrrr merged commit 7c6c6fc into main Sep 19, 2025
5 checks passed
@eeeebbbbrrrr
eeeebbbbrrrr deleted the eebbrr/memory-arena-limit branch September 19, 2025 19:08
mdashti pushed a commit that referenced this pull request Oct 21, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
mdashti pushed a commit that referenced this pull request Oct 22, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
mdashti pushed a commit that referenced this pull request Oct 22, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
mdashti pushed a commit that referenced this pull request Dec 3, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
mdashti pushed a commit that referenced this pull request Dec 3, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Dec 3, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Dec 10, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Dec 10, 2025
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Jan 13, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Jan 13, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Jan 13, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
stuhood pushed a commit that referenced this pull request Jan 14, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
rebasedming pushed a commit that referenced this pull request Feb 10, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
rebasedming pushed a commit that referenced this pull request Feb 10, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test
rebasedming pushed a commit that referenced this pull request Jun 22, 2026
A MemoryArena should support allocations up to 4GB and #60 broke this by not accounting for the "max page id" when pages are now 50% the size of what the originally were.

This cleans up the code so things stay in sync if we change NUM_BITS_PAGE_ADDR again and adds a unit test

(cherry picked from commit f2e003f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants