Skip to content

Commit

Permalink
Merge pull request #158 from mato/remove-malloc-locks
Browse files Browse the repository at this point in the history
Explicitly define USE_LOCKS to 0 in dlmalloc
  • Loading branch information
mato authored Feb 21, 2017
2 parents 9193eca + cbf3ef2 commit ce13772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/malloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#define LACKS_SCHED_H
#define LACKS_TIME_H
#define MALLOC_FAILURE_ACTION
#define USE_LOCKS 0

/* return values from posix_memalign() */
#define ENOMEM -1 /* Out of memory */
Expand Down

0 comments on commit ce13772

Please sign in to comment.