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

malloc: refactor mmap allocator #21332

Merged
merged 1 commit into from
Feb 14, 2025
Merged

malloc: refactor mmap allocator #21332

merged 1 commit into from
Feb 14, 2025

Conversation

reusee
Copy link
Contributor

@reusee reusee commented Jan 23, 2025

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #https://github.com/matrixorigin/MO-Cloud/issues/4753

What this PR does / why we need it:

replaced channel-based buffering with a slab allocator in fixed_size_mmap_allocator.go

reduces mmap syscalls by reusing slabs and batching object allocations.

@mergify mergify bot mentioned this pull request Jan 23, 2025
7 tasks
@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Jan 23, 2025
@mergify mergify bot merged commit b9d7f98 into matrixorigin:main Feb 14, 2025
18 checks passed
reusee added a commit to reusee/matrixone that referenced this pull request Feb 17, 2025
mergify bot pushed a commit that referenced this pull request Feb 17, 2025
reusee added a commit to reusee/matrixone that referenced this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement size/M Denotes a PR that changes [100,499] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants