Skip to content

A thread-safe user-level memory allocator using first-fit allocation.

Notifications You must be signed in to change notification settings

Jaden-J/MemoryAllocator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Author:       Steely Morneau
Project:      MemoryAllocator
Last updated: September 2012
-----------------------------
A thread-safe user-level memory allocator using first-fit allocation.
Implementations of malloc() and free().

The heap contains free and used blocks. A list of free blocks is used for bookkeeping.
Free blocks are split and coalesced as memory is allocated and freed, respectively.

The memory allocator implementation is in memalloc.c with supporting code in the pintos 
directory. The Pintos library (see AUTHORS and LICENSCE for more information) is used 
for its list and string implementations. 

pintos/test_mem.c demonstrates how to use the memory allocator as well as testing its 
functionality.

Use the Makefile to build.

About

A thread-safe user-level memory allocator using first-fit allocation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%