Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote stub #604

Merged
merged 3 commits into from
Mar 24, 2023
Merged

Remote stub #604

merged 3 commits into from
Mar 24, 2023

Conversation

mjp41
Copy link
Member

@mjp41 mjp41 commented Mar 23, 2023

This partially address #586. It provides a branch on the enqueue path, which simplifies the code.

This removes the need for the smallest size class to be create when the allocator is first initialised.

mjp41 and others added 3 commits March 23, 2023 13:48
Rather than allocating a sizeclass use a stub.  This change adds a
branch on enqueue.
@mjp41 mjp41 requested a review from nwf-msr March 23, 2023 14:14
Copy link
Contributor

@nwf-msr nwf-msr left a comment

Choose a reason for hiding this comment

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

LGTM. I'm glad the domestication machinery was amenable. :)

@mjp41 mjp41 merged commit 798f2fa into microsoft:main Mar 24, 2023
@mjp41 mjp41 deleted the remote_stub branch March 24, 2023 09:15
mjp41 added a commit to mjp41/snmalloc that referenced this pull request Jun 7, 2023
* Alter is_empty

* Use a stub in remoteallocator

Rather than allocating a sizeclass use a stub.  This change adds a
branch on enqueue.
nwf-msr added a commit that referenced this pull request Jan 5, 2024
The introduction of the remote stub back in
#604 renamed this function from
`is_empty` but did not flip the return value to match.  Do so now.
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