mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 17:52:27 +00:00
Use good locks in dlmalloc
Using mere spin locks causes runitd.com to go painstakingly slow on NetBSD for reasons that aren't clear yet.
This commit is contained in:
parent
80fca1f7c3
commit
1a28e35c62
2 changed files with 4 additions and 1 deletions
1
third_party/dlmalloc/dlmalloc.c
vendored
1
third_party/dlmalloc/dlmalloc.c
vendored
|
@ -32,6 +32,7 @@
|
|||
#define HAVE_MREMAP 0
|
||||
#define HAVE_MORECORE 0
|
||||
#define USE_LOCKS 2
|
||||
#define USE_SPIN_LOCKS 0
|
||||
#define MORECORE_CONTIGUOUS 0
|
||||
#define MALLOC_INSPECT_ALL 1
|
||||
#define ABORT_ON_ASSERT_FAILURE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue