Skip to content

rcmgleite/rlmalloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple malloc implementation using "first fit" algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published