Skip to content

Buddies incorrectly aligned #105

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

Open
alessandropellegrini opened this issue May 22, 2023 · 0 comments
Open

Buddies incorrectly aligned #105

alessandropellegrini opened this issue May 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alessandropellegrini
Copy link
Member

In the multi-buddy implementation, buddies are dynamically allocated:
https://github.com/ROOT-Sim/core/blob/master/src/mm/buddy/multi.c#L69

This can break internal structure alignment. We should allocate them using the internal mm_aligned_alloc().

@alessandropellegrini alessandropellegrini added the bug Something isn't working label May 22, 2023
@alessandropellegrini alessandropellegrini added this to the 3.0.0 milestone May 22, 2023
@alessandropellegrini alessandropellegrini modified the milestones: 3.0.0, 3.1.0 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants