-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDOC
16 lines (12 loc) · 862 Bytes
/
DOC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#############################################
############# Evaluation Report #############
##### Nevil George ##### James Whang ########
###### Lab 2: Kernel Memory Allocator #######
#############################################
A total of four algorithms were implemented:
1. Resource Map
2. Buddy System
3. Power-of-two Free List
4. McKusick-Karels
Resource Map was implemented by using the First Fit policy, where the first memory that can fit the requested memory size was implemented. At the beginning of each allocated memory block there is a struct object that keeps track of the <base, limit> pair, which is in itself a linked list so that it can be searched in a linear time.
Its performance seems decent, but because the search for freeing up memory takes a linear time, subsequent calls to free may slow down this allocator by a lot.