Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib turn off TLS for mips on old jemalloc. it d...



details:   https://anonhg.NetBSD.org/src/rev/dfd72403892e
branches:  trunk
changeset: 971752:dfd72403892e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun May 03 07:32:54 2020 +0000

description:
turn off TLS for mips on old jemalloc.  it doesn't work.

diffstat:

 lib/libc/stdlib/jemalloc.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 7a26a0ca01c7 -r dfd72403892e lib/libc/stdlib/jemalloc.c
--- a/lib/libc/stdlib/jemalloc.c        Sun May 03 07:10:27 2020 +0000
+++ b/lib/libc/stdlib/jemalloc.c        Sun May 03 07:32:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $        */
+/*     $NetBSD: jemalloc.c,v 1.52 2020/05/03 07:32:54 mrg Exp $        */
 
 /*-
  * Copyright (C) 2006,2007 Jason Evans <jasone%FreeBSD.org@localhost>.
@@ -117,7 +117,7 @@
 
 #include <sys/cdefs.h>
 /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ 
-__RCSID("$NetBSD: jemalloc.c,v 1.51 2020/04/22 08:48:12 rin Exp $");
+__RCSID("$NetBSD: jemalloc.c,v 1.52 2020/05/03 07:32:54 mrg Exp $");
 
 #ifdef __FreeBSD__
 #include "libc_private.h"
@@ -284,6 +284,9 @@
 #  endif
 #  define QUANTUM_2POW_MIN     4
 #  define USE_BRK
+#  if defined(__mips__)
+#    define NO_TLS
+#  endif
 #endif
 #ifdef __hppa__                                                                                                                                         
 #  define QUANTUM_2POW_MIN     4                                                                                                                        



Home | Main Index | Thread Index | Old Index