This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x a | |
x a | |
x a | |
x Disassembly of section .text: a | |
x a | |
x 000000000040c720 <__libc_malloc>: a | |
x tsd_state_get(): a | |
x * This sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/master/src/jemalloc.git-trunk/configure.ac b/master/src/jemalloc.git-trunk/configure.ac | |
index ffa0ece..d1d7f23 100644 | |
--- a/master/src/jemalloc.git-trunk/configure.ac | |
+++ b/master/src/jemalloc.git-trunk/configure.ac | |
@@ -1457,6 +1457,29 @@ if test "x$have_sched_getcpu" = "x1" ; then | |
AC_DEFINE([JEMALLOC_HAVE_SCHED_GETCPU], [ ]) | |
fi | |
+dnl Check if the glibc __libc_allocate_rtsig function exists. | |
+AC_CHECK_FUNC([__libc_allocate_rtsig], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.in b/Makefile.in | |
index e4aaaf2..7cae4be 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -100,6 +100,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \ | |
$(srcroot)src/prng.c \ | |
$(srcroot)src/prof.c \ | |
$(srcroot)src/rtree.c \ | |
+ $(srcroot)src/slabcache.c \ | |
$(srcroot)src/stats.c \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile.in b/Makefile.in | |
index e4aaaf2..7cae4be 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -100,6 +100,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \ | |
$(srcroot)src/prng.c \ | |
$(srcroot)src/prof.c \ | |
$(srcroot)src/rtree.c \ | |
+ $(srcroot)src/slabcache.c \ | |
$(srcroot)src/stats.c \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int migrate_cmpxchgcheck(intptr_t *ptr, intptr_t old, intptr_t new, | |
intptr_t *checkold, intptr_t checknew, | |
unsigned long lockval, int cpu) { | |
/* The preemption lock needs to be tagged: | |
* our tid in 32 bits, sequence counter in | |
* other 32 bits to avoid aba on calling tkill | |
*/ | |
unsigned long newlockval = cached_tid | ((lockval+1) & 0xFFFFFFFF); | |
asm volatile goto( |