aboutsummaryrefslogtreecommitdiff
path: root/src/allocators
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocators')
-rw-r--r--src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch6
-rw-r--r--src/allocators/glibc/glibc_2.29_no_passive_falsesharing_fancy.patch6
-rw-r--r--src/allocators/scalloc/scalloc_fix_log.patch6
-rw-r--r--src/allocators/supermalloc/remove_faulty_aligned_alloc_test.patch6
-rw-r--r--src/allocators/tcmalloc/tcmalloc_2.7_no_active_falsesharing.patch6
5 files changed, 15 insertions, 15 deletions
diff --git a/src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch b/src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch
index 7d0f23f..becbfda 100644
--- a/src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch
+++ b/src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch
@@ -1,7 +1,7 @@
-diff --git a/malloc/malloc.c b/malloc/malloc.c
+diff --git malloc/malloc.c malloc/malloc.c
index 0abd653be2..eaefd3bd7c 100644
---- a/malloc/malloc.c
-+++ b/malloc/malloc.c
+--- malloc/malloc.c
++++ malloc/malloc.c
@@ -4194,6 +4194,9 @@ _int_free (mstate av, mchunkptr p, int have_lock)
#if USE_TCACHE
diff --git a/src/allocators/glibc/glibc_2.29_no_passive_falsesharing_fancy.patch b/src/allocators/glibc/glibc_2.29_no_passive_falsesharing_fancy.patch
index 24fbe7a..480d072 100644
--- a/src/allocators/glibc/glibc_2.29_no_passive_falsesharing_fancy.patch
+++ b/src/allocators/glibc/glibc_2.29_no_passive_falsesharing_fancy.patch
@@ -1,7 +1,7 @@
-diff --git a/malloc/malloc.c b/malloc/malloc.c
+diff --git malloc/malloc.c malloc/malloc.c
index 0abd653be2..71b2d433ba 100644
---- a/malloc/malloc.c
-+++ b/malloc/malloc.c
+--- malloc/malloc.c
++++ malloc/malloc.c
@@ -4194,6 +4194,12 @@ _int_free (mstate av, mchunkptr p, int have_lock)
#if USE_TCACHE
diff --git a/src/allocators/scalloc/scalloc_fix_log.patch b/src/allocators/scalloc/scalloc_fix_log.patch
index eaae806..9d4a7d8 100644
--- a/src/allocators/scalloc/scalloc_fix_log.patch
+++ b/src/allocators/scalloc/scalloc_fix_log.patch
@@ -1,7 +1,7 @@
-diff --git a/src/log.h b/src/log.h
+diff --git src/log.h src/log.h
index 3edc36d..e1d181c 100644
---- a/src/log.h
-+++ b/src/log.h
+--- src/log.h
++++ src/log.h
@@ -46,13 +46,13 @@ inline void LogPrintf(
snprintf(line_buffer, sizeof(line_buffer), "%d", line);
diff --git a/src/allocators/supermalloc/remove_faulty_aligned_alloc_test.patch b/src/allocators/supermalloc/remove_faulty_aligned_alloc_test.patch
index dc7f7c4..074f758 100644
--- a/src/allocators/supermalloc/remove_faulty_aligned_alloc_test.patch
+++ b/src/allocators/supermalloc/remove_faulty_aligned_alloc_test.patch
@@ -1,7 +1,7 @@
-diff --git a/Makefile.include b/Makefile.include
+diff --git Makefile.include Makefile.include
index bb3cef3..09ee7eb 100644
---- a/Makefile.include
-+++ b/Makefile.include
+--- Makefile.include
++++ Makefile.include
@@ -37,7 +37,7 @@ default: tests
#lib: $(LIB)/libsupermalloc.so
#.PHONY: lib
diff --git a/src/allocators/tcmalloc/tcmalloc_2.7_no_active_falsesharing.patch b/src/allocators/tcmalloc/tcmalloc_2.7_no_active_falsesharing.patch
index c14172d..a76a2f2 100644
--- a/src/allocators/tcmalloc/tcmalloc_2.7_no_active_falsesharing.patch
+++ b/src/allocators/tcmalloc/tcmalloc_2.7_no_active_falsesharing.patch
@@ -1,7 +1,7 @@
-diff --git a/src/thread_cache.cc b/src/thread_cache.cc
+diff --git src/thread_cache.cc src/thread_cache.cc
index 6d2f832..2074f4a 100644
---- a/src/thread_cache.cc
-+++ b/src/thread_cache.cc
+--- src/thread_cache.cc
++++ src/thread_cache.cc
@@ -120,7 +120,11 @@ void* ThreadCache::FetchFromCentralCache(uint32 cl, int32_t byte_size,
ASSERT(list->empty());
const int batch_size = Static::sizemap()->num_objects_to_move(cl);