diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-13 17:16:35 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-13 17:16:35 +0200 |
| commit | 19e1ff660db8a6653d67884d10bc830babc1560d (patch) | |
| tree | ead4b484e82ac7a2b352ea397e36cee1888703a0 /src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch | |
| parent | 1c4986fbcfe3a8a012dfade02a4892dc775c7af5 (diff) | |
| download | allocbench-19e1ff660db8a6653d67884d10bc830babc1560d.tar.gz allocbench-19e1ff660db8a6653d67884d10bc830babc1560d.zip | |
improve patch handling in allocator.py
* patches are only applied if they aren't applied already
* patch no uses -p0 so git diff patches must be adjusted
Diffstat (limited to 'src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch')
| -rw-r--r-- | src/allocators/glibc/glibc_2.29_no_passive_falsesharing.patch | 6 |
1 files changed, 3 insertions, 3 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 |
