summaryrefslogtreecommitdiffstats
path: root/lib/libc/include
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2019-01-10 18:45:33 +0000
committerotto <otto@openbsd.org>2019-01-10 18:45:33 +0000
commitfa2b64111b6ceb302725eb7311a0f7b9fbddf988 (patch)
treeeaa891aa485a13f158c9668fe48e9baf0eb6c830 /lib/libc/include
parentregen pcidevs*.h (diff)
downloadwireguard-openbsd-fa2b64111b6ceb302725eb7311a0f7b9fbddf988.tar.xz
wireguard-openbsd-fa2b64111b6ceb302725eb7311a0f7b9fbddf988.zip
Make the "not my pool" searching loop a tiny bit smarter, while
making the number of pools variable. Do not document the malloc conf settings atm, don't know yet if they will stay. Thanks to all the testers. ok deraadt@
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/thread_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/include/thread_private.h b/lib/libc/include/thread_private.h
index ae8d554a8ab..774e0cba1fb 100644
--- a/lib/libc/include/thread_private.h
+++ b/lib/libc/include/thread_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: thread_private.h,v 1.33 2017/12/05 13:45:31 kettenis Exp $ */
+/* $OpenBSD: thread_private.h,v 1.34 2019/01/10 18:45:33 otto Exp $ */
/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
@@ -7,7 +7,7 @@
#include <stdio.h> /* for FILE and __isthreaded */
-#define _MALLOC_MUTEXES 4
+#define _MALLOC_MUTEXES 32
void _malloc_init(int);
#ifdef __LIBC__
PROTO_NORMAL(_malloc_init);