Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Systems744
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
SHREYANSH JAIN
Systems744
Commits
a3b69b95
Commit
a3b69b95
authored
Sep 05, 2019
by
SHREYANSH JAIN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added readme
parent
5edd01fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
assignment3/malloclab-handout/readme.txt
assignment3/malloclab-handout/readme.txt
+24
-0
No files found.
assignment3/malloclab-handout/readme.txt
0 → 100644
View file @
a3b69b95
Memory Allocator
* In this approach, a block is allocated by first searching through
* the list of free blocks, if found.
* Also if the required size of block is less than half the size of
* free block, the free block is split into two blocks. One is allocated
* to the user and other is marked as free.
* If there is no free block available of the required size then memory
* is allocated by incrementing the brk pointer
* Every block has size information as meta data.
* When a block is freed it is added to the list of free blocks.
* While reallocating a block if the new size is smaller than the original
* size of the block then the block is split as in the case of malloc from
* free block.
#####################################################################
# CS:744 Malloc Assignment
#
# Team Members:
# Bhaveshkumar Yadav 193050052
# Shreyansh Jain 193050040
#
######################################################################
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment