forked from smmorneau/MemoryAllocator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
18 lines (14 loc) · 750 Bytes
/
README
File metadata and controls
18 lines (14 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.