Skip to content

Creating own malloc and free functions i.e. ymalloc and yfree respectively

Notifications You must be signed in to change notification settings

anik3t/ymalloc_yfree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ymalloc_yfree

Creating own malloc and free functions i.e. ymalloc and yfree respectively

*Allocating big chunck of memory with yalloc once using malloc

*Maintaining separate lists of unallocated and allocated blocks, where unallocated list keeps the output of yalloc

*ymalloc requesting for memory block from unallocated list

  • yfree freeing out the allocated memory block, ordering the unallocated list according to addresses and then merging the blocks with contiguous addresses

About

Creating own malloc and free functions i.e. ymalloc and yfree respectively

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages