Skip to content

Commit 6ff1a4b

Browse files
author
Wei Li
committed
reduce chunksize to improve utilization
1 parent 197b2de commit 6ff1a4b

File tree

1 file changed

+1
-1
lines changed
  • malloclab-handout

1 file changed

+1
-1
lines changed

malloclab-handout/mm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#define WSIZE 4
4141
#define DSIZE 8
4242
#define ALIGNMENT 8
43-
#define CHUNKSIZE (1<<12)
43+
#define CHUNKSIZE (1<<9)
4444
#define MIN_FREE_BLOCK_SIZE (2*DSIZE)
4545
#define MIN_BLOCK_SIZE (2*DSIZE)
4646
#define MAX_BLOCK_SIZE INT_MAX /* TODO: better definition? */

0 commit comments

Comments
 (0)