Skip to content

Alternative implemention the lock-free memory allocator described in "Scalable Lock-Free Dynamic Memory Allocation", by Maged M. Michael

License

Notifications You must be signed in to change notification settings

ricleite/lrmichael

Folders and files

NameName
Last commit message
Last commit date

Latest commit

184650b · Nov 18, 2018

History

15 Commits
Apr 11, 2018
Nov 18, 2018
Nov 18, 2018
Nov 18, 2018
Apr 3, 2018
Nov 18, 2018
Nov 18, 2018
Nov 18, 2018
Apr 3, 2018
Apr 4, 2018
Nov 18, 2018
Apr 3, 2018
Nov 18, 2018
Apr 4, 2018

Repository files navigation

Introduction


lrmichael is a malloc(3) implemention of the lock-free memory allocator described in Scalable Lock-Free Dynamic Memory Allocation, by Maged M. Michael.

This implementation uses 2MB superblocks, and keeps block metadata per page in a seperate component instead of using boundary tags, achieving some allocator/user memory segregation.

Usage


To compile, just download this repository and run

make

If successfully compiled, you can link lrmichael with your application at compile time with

-llrmichael

or you can dynamically link it with your application by using LD_PRELOAD (if your application was not statically linked with another memory allocator).

LD_PRELOAD=lrmichael.so ./your_application

Copyright

Licence: MIT

Read file COPYING.

About

Alternative implemention the lock-free memory allocator described in "Scalable Lock-Free Dynamic Memory Allocation", by Maged M. Michael

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published