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

Optimise buddy allocator to not search too high #606

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

mjp41
Copy link
Member

@mjp41 mjp41 commented Mar 23, 2023

The buddy allocator doesn't need to look at sizes above the current highest size. This commit tracks the highest block that is stored in the buddy allocator.

This is factored out of #570.

The buddy allocator doesn't need to look at sizes above the current
highest size. This commit tracks the highest block that is stored in the
buddy allocator.
@mjp41 mjp41 requested a review from nwf-msr March 23, 2023 14:13
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.

Seems straight-forward enough.

@mjp41 mjp41 merged commit 8e3f6c9 into microsoft:main Mar 24, 2023
@mjp41 mjp41 deleted the buddy_search branch March 24, 2023 09:16
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