Skip to content

Commit

Permalink
Mimor edits to section headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rhempel committed Mar 3, 2015
1 parent d9918ea commit b4e61c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ the next index of the new block (c) to point to the last free block.
Note that the next free index of the pf block must point to the new lf
because cf is no longer a free block!

### Operation of malloc when we have found a block (cf) that will fit the
current request of b units exactly.
### Operation of malloc when we have found a block (cf) that will fit the current request of b units exactly

This one is pretty easy, just clear the free list bit in the current
block and unhook it from the free list.
Expand Down Expand Up @@ -253,8 +252,7 @@ nf |*?? | ?? | ?? | cf | nf | ?? | ?? | ?? | pf |
Unhooking from the free list is accomplished by adjusting the next and
prev free list index values in the pf and nf blocks.

### Operation of malloc when we have found a block that will fit the current
request of b units with some left over.
### Operation of malloc when we have found a block that will fit the current request of b units with some left over

We'll allocate the new block at the END of the current free block so we
don't have to change ANY free list pointers.
Expand Down

0 comments on commit b4e61c0

Please sign in to comment.