Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1 KB

README.md

File metadata and controls

28 lines (23 loc) · 1 KB

rlmalloc

This a simple implementation of malloc using the first fit algorithm. It's NOT PRODUCTION READY and was created just for academic purposes.

System requirements

Please use Linux.

Compile

To compile the example on main.c just execute:

$ make

main.c

This file uses rlmalloc and rlfree to manager memory with some simple examples.

bibliography

TODO's

  • Create better tests.
  • Keep track of memory usage. (eg: zmalloc)
  • Thread safety.
  • Create statistics getters (eg: number of blocks).
  • Benchmark.