Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonwooSung committed Dec 19, 2018
1 parent 62567ea commit 5bfd0dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# mymalloc
Simple implementation of a memory allocation library similar to malloc.
# MemoryAllocation

## 1. Implementing malloc with mmap()

In the mymalloc.c file, I implemented the malloc function with mmap() to allocate memory dynamically by using the virtual memory.
In the mmap_malloc.c file, I implemented the memory allocating program with mmap() function to allocate memory dynamically by using the virtual memory.

## 2. Simple and neat malloc with sbrk()

Expand Down
2 changes: 1 addition & 1 deletion mymalloc.c → mmap_malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <math.h>
#include <stdint.h>

#include "mymalloc.h"
#include "mmap_malloc.h"

int *last_address = 0;

Expand Down
File renamed without changes.

0 comments on commit 5bfd0dd

Please sign in to comment.