Initial import of the buddy memory allocator
commitee82c880c813482b8e8a62c5a91965240588518c
authorStathis Kamperis <ekamperi@auth.gr>
Mon, 1 Oct 2007 15:04:42 +0000 (1 18:04 +0300)
committerStathis Kamperis <ekamperi@auth.gr>
Mon, 1 Oct 2007 15:04:42 +0000 (1 18:04 +0300)
treef083b977d709151142767142541e60adff3e5e65
parentb841109e4f9f143e475683b0b1be1e6bacf6f9d5
Initial import of the buddy memory allocator
There is still A LOT of word to be done:
1) Add minimum chunk size in mpool_alloc()
2) Implement mpool_free(), mpool_realloc
2) Clear out the debug printfs()
3) Integrate some sort of statistics to monitor internal fragmentation
malloc/mpool.c [new file with mode: 0644]