Skip to content

Conversation

@eeeebbbbrrrr
Copy link

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
@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
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.

4 participants