Skip to content

feat: wrap buffer in arc for easy shared ownership#45

Open
McPatate wants to merge 9 commits intomainfrom
feat/wrap_buffer_in_arc_for_easy_sharing
Open

feat: wrap buffer in arc for easy shared ownership#45
McPatate wants to merge 9 commits intomainfrom
feat/wrap_buffer_in_arc_for_easy_sharing

Conversation

@McPatate
Copy link
Copy Markdown
Collaborator

@McPatate McPatate commented Mar 6, 2026

will rebase main after #43 is merged

@McPatate McPatate requested a review from mfuntowicz March 6, 2026 16:45
Copy link
Copy Markdown
Owner

@mfuntowicz mfuntowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just the style changes that can be removed
nit: I rebased the PR to match latest main which had significant logic changes in io_uring backend

const size_t staging_size = HMLL_URING_QUEUE_DEPTH * HMLL_URING_BUFFER_SIZE;

unsigned char *arena = hmll_alloc(staging_size, device, HMLL_MEM_STAGING);
if (!arena) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this change

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes sorry left over from debugging!

@McPatate McPatate force-pushed the feat/wrap_buffer_in_arc_for_easy_sharing branch from c3491bf to c67e7c0 Compare March 20, 2026 10:59
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.

2 participants