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

Full implementation of bitmap allocator #7

Open
1 of 5 tasks
superobertking opened this issue Sep 14, 2021 · 0 comments
Open
1 of 5 tasks

Full implementation of bitmap allocator #7

superobertking opened this issue Sep 14, 2021 · 0 comments

Comments

@superobertking
Copy link
Member

superobertking commented Sep 14, 2021

Bitmap allocator is implemented in the dealloc branch, but has not been merged in to the orbit branch because its functionality is not complete. Linear allocator is still used as the default allocator for all new ported systems.

The following functionalities needs to be implemented:

  • Support allocation and deallocation for multi-page allocation (sizes larger than PAGE_SIZE)
  • Add interface to retrieve used bytes instead of using hacks at usage points. Update code according to interface changes.
  • Implement optimized realloc functionality for in-place scenarios using bitmap_zeros_{before,after} functions.
  • Other optimizations such as strategies to reduce page faults, better concurrency performance (maybe open new issues for those)
  • Write unit tests for bitmap allocator
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

No branches or pull requests

1 participant