Compare commits

...

69 Commits
f14 ... master

Author SHA1 Message Date
Fedora Release Engineering
d745295261 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 02:20:27 +00:00
Fedora Release Engineering
ac303c5afe - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 06:07:40 +00:00
Ingvar Hagelund
93e76aaba4 remember to add sources 2019-08-06 09:53:47 +02:00
Ingvar Hagelund
4ee3d8bc73 New upstream release 2019-08-06 09:53:02 +02:00
Fedora Release Engineering
55349c568b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 10:21:25 +00:00
Ingvar Hagelund
1996e164e3 New upstream release 2019-04-03 11:13:59 +02:00
Fedora Release Engineering
15d11c9036 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 04:18:58 +00:00
Igor Gnatenko
e8ed2eb77e Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:09 +01:00
Joe Orton
51d2105f04 move jemalloc.pc and jemalloc-config to -devel (#1593484) 2018-07-18 07:57:27 +01:00
Fedora Release Engineering
5ca2caa54f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 06:21:09 +00:00
Jason Tibbitts
4813645931 Remove needless use of %defattr 2018-07-10 01:26:17 -05:00
Igor Gnatenko
57f28dd574 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:46 +02:00
Ingvar Hagelund
6a21173929 New upstream release
Removed patches merged upstream
2018-05-09 12:42:27 +02:00
Ingvar Hagelund
b98caa21aa Actually, specify pagesizes according to arches, closes #1545539
Remove patch disabling thp as this is now handled by configure, see
  upstream issue 526
2018-03-08 13:01:28 +01:00
Ingvar Hagelund
f49226e5a8 Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539 2018-03-06 21:54:12 +01:00
Igor Gnatenko
e70276c0de
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:16:11 +01:00
Igor Gnatenko
21ea4d248a Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:34:08 +01:00
Fedora Release Engineering
3e6f4147f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 18:32:14 +00:00
Igor Gnatenko
8ddb2eda30
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 13:25:19 +01:00
Joe Orton
4e886409fe Remove unused patches. 2018-01-19 12:36:44 +00:00
Ingvar Hagelund
864b542ad4 new upstream release 2017-12-14 12:52:44 +01:00
Ingvar Hagelund
372f9b9d16 New upstream release
Added patch for upstream issue #979 "Test suite segv on arm64"
Moved jeprof util to jemalloc-devel, to give less dependencies
  on the library package, closes bz #1519586
Respun the patch removing explicit altivec usage. Not all
  ppc64 have altive
2017-12-14 12:51:49 +01:00
Ingvar Hagelund
a1dce39784 Rather use ifarch than checking builder kernel for thp support
Cleanup; removed unnecessary patch for atomic ops on arm, pulled el5 support,
  use ix86 macro for ifarch i386 and friends
2017-08-17 12:35:22 +02:00
Fedora Release Engineering
2579d5ed9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 23:59:21 +00:00
Fedora Release Engineering
6cfa2d8923 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 14:19:34 +00:00
Ingvar Hagelund
9b0b244fe5 New upstream release 2017-03-06 11:03:17 +01:00
Fedora Release Engineering
ba5b2394fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 17:07:04 +00:00
Ingvar Hagelund
a7950205fc Disable transparent hugepages on systems not supporting them 2017-01-12 16:11:27 +01:00
Ingvar Hagelund
17ce554ada New upstream release 2016-12-09 12:30:19 +01:00
Ingvar Hagelund
b299e9a756 New upstream release
- Removed patches from upstream that are merged
2016-11-09 22:24:19 +01:00
Ingvar Hagelund
9c7bf44d0b Fixes for upstream bug #392. Package will now build on el5/ppc,
el5/i386 and el6/i386
2016-11-01 23:09:15 +01:00
Ingvar Hagelund
ccade2a2ac New upstream release 2016-08-23 13:27:28 +02:00
Petr Písař
c01ef3462b Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:35:21 +02:00
Ingvar Hagelund
7755f73c31 added new source tarball 2016-05-10 13:47:49 +02:00
Ingvar Hagelund
3366bee963 New upstream release 2016-05-10 13:45:53 +02:00
Ingvar Hagelund
08f467f393 Update to 4.1.0 (#1312699) 2016-02-29 08:22:57 +01:00
Dennis Gilmore
9334ee098f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 01:09:08 +00:00
Ingvar Hagelund
8ed570fa54 New upstream release 2015-10-25 00:11:02 +02:00
Ingvar Hagelund
fbeb7c8898 New upstream release
- Removed oom test patch, it has been fixed upstream
2015-09-25 13:45:51 +02:00
Ingvar Hagelund
08241b12b9 oom test also fails on 32bit ppc, so patch it out there as well 2015-09-24 16:16:17 +02:00
Ingvar Hagelund
a847a88878 New upstream release
- Added a patch removing a non-critical test that fails on i386
- Removed now included negative bitshift patch.
2015-09-24 12:39:16 +02:00
Ingvar Hagelund
d1ac2aca2f New upstream release
- Removed the no-pprof patch, as jemalloc now comes with its own prof variant
- Removed atomic.h patch for armv5tel. jemalloc now provides a specific
  variant for armv5tel
- Added a patch from upstream for errnous bitshift by negative amounts on pagesize >8KiB
- Added -lrt to LDFLAGS for rhel<7
2015-08-28 12:42:08 +02:00
Dennis Gilmore
fbd0f28893 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 12:13:37 +00:00
Ingvar Hagelund
3fb9f458ba valgrind-devel is not available on s390, closes #1131014 2014-08-18 13:56:50 +02:00
Peter Robinson
421654d691 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 22:18:55 +00:00
Ingvar Hagelund
70bfeca039 bz #1106933 fix only for fedora 21 and above 2014-08-15 13:34:18 +02:00
Ingvar Hagelund
1bcae3ff01 Added valgrind-devel to BuildRequires, fixing bz #974270 2014-08-15 12:17:32 +02:00
Ingvar Hagelund
c1e937098f Added an i686 build fix 2014-08-15 10:12:51 +02:00
Dennis Gilmore
68b12ae712 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 19:15:54 -05:00
Ingvar Hagelund
b4c58a8ef7 Patch that removes explicit altivec on el5/ppc 2014-04-01 12:48:26 +02:00
Ingvar Hagelund
8dea9c5cd8 New upstream release. This version contains a critical bug fix for a regression present in 3.5.0 and 3.5.1. 2014-03-31 23:47:48 +02:00
Ingvar Hagelund
2dedcbcf15 New upstream release 2014-03-31 23:45:29 +02:00
Ingvar Hagelund
09c8dc0be1 New upstream release 2014-03-31 23:43:11 +02:00
Ingvar Hagelund
d777f7cf07 merge from epel7 branch, who got 3.5.1 first
Merge branch 'master' of ssh://pkgs.fedoraproject.org/jemalloc

Conflicts:
	jemalloc.spec
2014-03-28 10:52:41 +01:00
Ingvar Hagelund
a4692697b3 New upstream release
- Updated nopprof patch to match new release
- Fixed a few bogus changelog entries
2014-03-28 10:45:51 +01:00
Dennis Gilmore
ef5a0a288b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 16:15:07 -05:00
Ingvar Hagelund
9bec7262f0 New upstream release 3.4.0 2013-06-07 09:49:38 +02:00
Ingvar Hagelund
5be70fccdc New upstream release 3.3.1 2013-03-18 14:32:46 +01:00
Ingvar Hagelund
a5963301b3 New upstream release
From the upstream release notes:

* 3.3.0 (January 23, 2013)

  This version includes a few minor performance improvements in addition to the
  listed new features and bug fixes.

  New features:
  - Add clipping support to lg_chunk option processing.
  - Add the --enable-ivsalloc option.
  - Add the --without-export option.
  - Add the --disable-zone-allocator option.

  Bug fixes:
  - Fix "arenas.extend" mallctl to output the number of arenas.
  - Fix chunk_recycyle() to unconditionally inform Valgrind that returned memory
    is undefined.
  - Fix build break on FreeBSD related to alloca.h.
2013-01-25 12:50:06 +01:00
Ingvar Hagelund
52dac3dbed New upstream release. 2012-11-19 14:04:22 +01:00
Ingvar Hagelund
3ef76c94a2 New upstream release 2012-10-24 10:25:53 +02:00
Dennis Gilmore
2850ef625d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 11:11:36 -05:00
Ingvar Hagelund
9d531ef805 Added a patch from upstream, fixing a crash in ptmalloc_lock_all 2012-05-25 09:19:00 +02:00
Ingvar Hagelund
dbca8d22ff Added a patch from upstream, fixing a crash in ptmalloc_lock_all 2012-05-25 09:18:49 +02:00
Ingvar Hagelund
61dc0cf2d4 - New upstream release
- Updated no_pprof patch to match new release
- Updated s390 patch to match new relase
- Added make check
- Added new script jemalloc.sh
- Added a patch for atomic operations on epel5/ppc
2012-05-18 17:50:37 +02:00
Peter Robinson
dc286617e7 Improve ARM patch 2012-04-21 16:25:28 +01:00
Dennis Gilmore
b96d668cc9 no attomics on armv5tel 2012-04-21 00:29:51 -05:00
Dan Horák
c79a1125a2 substitute version information in the header (#788517) 2012-02-08 13:10:12 +01:00
Dennis Gilmore
76a5550b0d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 00:20:45 -06:00
10 changed files with 341 additions and 113 deletions

22
.gitignore vendored
View File

@ -8,3 +8,25 @@
/jemalloc-2.2.3.tar.bz2
/jemalloc-2.2.4.tar.bz2
/jemalloc-2.2.5.tar.bz2
/jemalloc-3.0.0.tar.bz2
/jemalloc-3.1.0.tar.bz2
/jemalloc-3.2.0.tar.bz2
/jemalloc-3.3.0.tar.bz2
/jemalloc-3.3.1.tar.bz2
/jemalloc-3.4.0.tar.bz2
/jemalloc-3.5.1.tar.bz2
/jemalloc-3.6.0.tar.bz2
/jemalloc-4.0.0.tar.bz2
/jemalloc-4.0.2.tar.bz2
/jemalloc-4.0.3.tar.bz2
/jemalloc-4.0.4.tar.bz2
/jemalloc-4.1.0.tar.bz2
/jemalloc-4.1.1.tar.bz2
/jemalloc-4.2.1.tar.bz2
/jemalloc-4.3.1.tar.bz2
/jemalloc-4.4.0.tar.bz2
/jemalloc-4.5.0.tar.bz2
/jemalloc-5.0.1.tar.bz2
/jemalloc-5.1.0.tar.bz2
/jemalloc-5.2.0.tar.bz2
/jemalloc-5.2.1.tar.bz2

View File

@ -1,12 +0,0 @@
diff -up jemalloc-2.0.1/include/jemalloc/internal/jemalloc_internal.h.in.orig jemalloc-2.0.1/include/jemalloc/internal/jemalloc_internal.h.in
--- jemalloc-2.0.1/include/jemalloc/internal/jemalloc_internal.h.in.orig 2010-12-11 14:23:59.000000000 +0100
+++ jemalloc-2.0.1/include/jemalloc/internal/jemalloc_internal.h.in 2010-12-11 14:24:04.000000000 +0100
@@ -135,7 +135,7 @@ extern void (*JEMALLOC_P(malloc_message)
#ifdef __powerpc__
# define LG_QUANTUM 4
#endif
-#ifdef __s390x__
+#ifdef __s390__
# define LG_QUANTUM 4
#endif

View File

@ -1,24 +0,0 @@
--- Makefile.in.orig 2010-12-04 02:05:01.000000000 +0100
+++ Makefile.in 2011-01-05 23:13:32.000000000 +0100
@@ -42,7 +42,6 @@
endif
# Lists of files.
-BINS := @srcroot@bin/pprof
CHDRS := @objroot@include/jemalloc/jemalloc@install_suffix@.h \
@objroot@include/jemalloc/jemalloc_defs@install_suffix@.h
CSRCS := @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/base.c \
@@ -123,13 +122,6 @@
$(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@
endif
-install_bin:
- install -d $(BINDIR)
- @for b in $(BINS); do \
- echo "install -m 755 $$b $(BINDIR)"; \
- install -m 755 $$b $(BINDIR); \
-done
-
install_include:
install -d $(INCLUDEDIR)/jemalloc
@for h in $(CHDRS); do \

View File

@ -1,25 +0,0 @@
diff -Naur ../jemalloc-2.2.0.orig/Makefile.in ./Makefile.in
--- ../jemalloc-2.2.0.orig/Makefile.in 2011-03-23 01:03:58.000000000 +0100
+++ ./Makefile.in 2011-03-28 23:56:21.000000000 +0200
@@ -42,7 +42,6 @@
endif
# Lists of files.
-BINS := @srcroot@bin/pprof
CHDRS := @objroot@include/jemalloc/jemalloc@install_suffix@.h \
@objroot@include/jemalloc/jemalloc_defs@install_suffix@.h
CSRCS := @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/atomic.c \
@@ -141,13 +140,6 @@
$(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@
endif
-install_bin:
- install -d $(BINDIR)
- @for b in $(BINS); do \
- echo "install -m 755 $$b $(BINDIR)"; \
- install -m 755 $$b $(BINDIR); \
-done
-
install_include:
install -d $(INCLUDEDIR)/jemalloc
@for h in $(CHDRS); do \

View File

@ -1,24 +0,0 @@
--- Makefile.in.orig 2011-08-01 22:03:28.000000000 +0200
+++ Makefile.in 2011-08-01 22:02:33.000000000 +0200
@@ -42,7 +42,6 @@
endif
# Lists of files.
-BINS := @srcroot@bin/pprof
CHDRS := @objroot@include/jemalloc/jemalloc@install_suffix@.h \
@objroot@include/jemalloc/jemalloc_defs@install_suffix@.h
CSRCS := @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/atomic.c \
@@ -141,13 +140,6 @@
$(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@ -lpthread
endif
-install_bin:
- install -d $(BINDIR)
- @for b in $(BINS); do \
- echo "install -m 755 $$b $(BINDIR)"; \
- install -m 755 $$b $(BINDIR); \
-done
-
install_include:
install -d $(INCLUDEDIR)/jemalloc
@for h in $(CHDRS); do \

View File

@ -0,0 +1,11 @@
--- configure.orig 2017-01-12 13:18:55.344548013 +0100
+++ configure 2017-01-12 13:19:05.284128625 +0100
@@ -8742,7 +8742,7 @@
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
- je_cv_thp=yes
+ je_cv_thp=no
else
je_cv_thp=no
fi

View File

@ -0,0 +1,13 @@
--- configure.orig 2017-12-14 12:15:32.517920736 +0100
+++ configure 2017-12-14 12:16:22.608660037 +0100
@@ -6865,10 +6865,6 @@
fi
;;
powerpc*)
- cat >>confdefs.h <<_ACEOF
-#define HAVE_ALTIVEC
-_ACEOF
-
CPU_SPINWAIT='__asm__ volatile("or 31,31,31")'
;;
*)

View File

@ -1,21 +1,19 @@
Name: jemalloc
Version: 2.2.5
Version: 5.2.1
Release: 1%{?dist}
Release: 4%{?dist}
Summary: General-purpose scalable concurrent malloc implementation
Group: System Environment/Libraries
License: BSD
URL: http://www.canonware.com/jemalloc/
Source0: http://www.canonware.com/download/jemalloc/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Remove pprof, as it already exists in google-perftools
Patch0: jemalloc-2.2.2.no_pprof.patch
# check for __s390__ as it's defined on both s390 and s390x
Patch1: jemalloc-2.0.1-s390.patch
Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: /usr/bin/xsltproc
BuildRequires: perl-generators
%ifnarch s390 %{mips}
BuildRequires: valgrind-devel
%endif
%description
General-purpose scalable concurrent malloc(3) implementation.
@ -24,7 +22,6 @@ This distribution is the stand-alone "portable" implementation of %{name}.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
%description devel
The %{name}-devel package contains libraries and header files for
@ -32,20 +29,56 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0
%patch1 -p1 -b .s390
# Override PAGESIZE, bz #1545539
%ifarch %ix86 %arm x86_64 s390x
%define lg_page --with-lg-page=12
%endif
%ifarch ppc64 ppc64le aarch64
%define lg_page --with-lg-page=16
%endif
# Disable thp on systems not supporting this for now
%ifarch %ix86 %arm aarch64 s390x
%define disable_thp --disable-thp
%endif
%build
# This is truncated during build. Seems interesting to save.
mv VERSION version
%configure
%ifarch %ix86
%if 0%{?fedora} >= 21
CFLAGS="%{optflags} -msse2"
%endif
%endif
%if 0%{?rhel} && 0%{?rhel} < 7
export LDFLAGS="%{?__global_ldflags} -lrt"
%endif
echo "For debugging package builders"
echo "What is the pagesize?"
getconf PAGESIZE
echo "What mm features are available?"
ls /sys/kernel/mm
ls /sys/kernel/mm/transparent_hugepage || true
cat /sys/kernel/mm/transparent_hugepage/enabled || true
echo "What kernel version and config is this?"
uname -a
%configure %{?disable_thp} %{?lg_page}
make %{?_smp_mflags}
%check
make check
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mv version VERSION
# Install this with doc macro instead
rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
@ -53,27 +86,222 @@ rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/libjemalloc.so.*
%{_bindir}/jemalloc.sh
%doc COPYING README VERSION
%doc doc/jemalloc.html
%files devel
%defattr(-,root,root,-)
%{_includedir}/jemalloc
%{_bindir}/jemalloc-config
%{_libdir}/pkgconfig/jemalloc.pc
%{_bindir}/jeprof
%{_libdir}/libjemalloc.so
%{_mandir}/man3/jemalloc.3*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%changelog
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Aug 06 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.2.1-1
- New upstream release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Apr 03 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.2.0-1
- New upstream release
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jul 18 2018 Joe Orton <jorton@redhat.com> - 5.1.0-3
- move jemalloc.pc and jemalloc-config to -devel (#1593484)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed May 09 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.1.0-1
- New upstream release
- Removed patches merged upstream
* Thu Mar 08 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.0.1-5
- Actually, specify pagesizes according to arches, closes #1545539
- Remove patch disabling thp as this is now handled by configure, see
upstream issue 526
* Tue Mar 06 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.0.1-4
- Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.0.1-2
- Switch to %%ldconfig_scriptlets
* Wed Dec 13 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.0.1-1
- New upstream release
- Added patch for upstream issue #979 "Test suite segv on arm64"
- Moved jeprof util to jemalloc-devel, to give less dependencies
on the library package, closes bz #1519586
- Respun the patch removing explicit altivec usage. Not all
ppc64 have altive
* Wed Aug 16 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.5.0-4
- Rather use ifarch than checking builder kernel for thp support
- Cleanup; removed unnecessary patch for atomic ops on arm, pulled el5 support,
use ix86 macro for ifarch i386 and friends
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Mar 01 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.5.0-1
- New upstream release
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.4.0-2
- Disable transparent hugepages on systems not supporting them
* Fri Dec 09 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.4.0-1
- New upstream release
* Wed Nov 09 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.3.1-1
- New upstream release
- Removed patches from upstream that are merged
* Tue Nov 01 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.2.1-2
- Fixes for upstream bug #392. Package will now build on el5/ppc,
el5/i386 and el6/i386
* Tue Aug 23 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.2.1-1
- New upstream release
* Thu Aug 11 2016 Michal Toman <mtoman@fedoraproject.org> - 4.1.1-2
- No valgrind on MIPS (#1366685)
* Wed May 04 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.1.1-1
- New upstream release
* Mon Feb 29 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.1.0-1
- Update to 4.1.0 (#1312699)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Oct 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.4-1
- New upstream release
* Fri Sep 25 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.3-1
- New upstream release
- Removed oom test patch, it has been fixed upstream
* Thu Sep 24 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-2
- oom test also fails on 32bit ppc, so patch it out there as well
* Tue Sep 22 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.2-1
- New upstream release
- Added a patch removing a non-critical test that fails on i386
- Removed now included negative bitshift patch.
* Wed Aug 19 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.0.0-1
- New upstream release
- Removed the no-pprof patch, as jemalloc now comes with its own prof variant
- Removed atomic.h patch for armv5tel. jemalloc now provides a specific
variant for armv5tel
- Added a patch from upstream for errnous bitshift by negative amounts on pagesize >8KiB
- Added -lrt to LDFLAGS for rhel<7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Aug 18 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-8
- valgrind-devel is not available on s390, closes #1131014
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-6
- bz #1106933 fix only for fedora 21 and above
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-5
- Added valgrind-devel to BuildRequires, fixing bz #974270
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-4
- Added an i686 build fixing bz #1106933
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-2
- Patch that removes explicit altivec on el5/ppc
* Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1
- New upstream release. This release fixes a critical regression
* Fri Mar 28 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.5.1-1
- New upstream release
- Updated nopprof patch to match new release
- Fixed a few bogus changelog entries
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.4.0-1
- New upstream release
* Mon Mar 11 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.1-1
- New upstream release
- Dropped s390 patch, it's in upstream now.
* Fri Jan 25 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.0-1
- New upstream release
* Mon Nov 19 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.2.0-1
- New upstream release
* Tue Oct 23 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.1.0-1
- New upstream release
- Removed ptmalloc_lock_all patch, it is merged upstream
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu May 24 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-2
- Added a patch from upstream, fixing a crash in ptmalloc_lock_all,
closing #824646
* Mon May 14 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-1
- New upstream release
- Updated no_pprof patch to match new release
- Updated s390 patch to match new relase
- Added make check
- Added new script jemalloc.sh
- Added a patch for atomic operations on epel5/ppc
* Sat Apr 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.2.5-5
- Improve ARM patch
* Fri Apr 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.2.5-4
- no attomics on armv5tel
* Wed Feb 08 2012 Dan Horák <dan[at]danny.cz> - 2.2.5-3
- substitute version information in the header (#788517)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.5-1
- New upstream release, closes #75618
@ -87,10 +315,10 @@ rm -rf %{buildroot}
- New upstream release, closes #727103
- Updated no_pprof patch for 2.2.2
* Tue Mar 31 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.1-1
* Thu Mar 31 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.1-1
- New upstream release
* Tue Mar 27 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.0-1
* Sun Mar 27 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.0-1
- New upstream release
- Updated no_pprof patch for 2.2.0

View File

@ -0,0 +1,39 @@
From 8cfc9dec37b312a2686f602bbcdd102ca07cca99 Mon Sep 17 00:00:00 2001
From: David Goldblatt <davidgoldblatt@fb.com>
Date: Fri, 29 Sep 2017 13:54:08 -0700
Subject: [PATCH] ARM: Don't extend bit LG_VADDR to compute high address bits.
In userspace ARM on Linux, zero-ing the high bits is the correct way to do this.
This doesn't fix the fact that we currently set LG_VADDR to 48 on ARM, when in
fact larger virtual address sizes are coming soon. We'll cross that bridge when
we come to it.
---
include/jemalloc/internal/rtree.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/jemalloc/internal/rtree.h b/include/jemalloc/internal/rtree.h
index b5d4db39..4563db23 100644
--- a/include/jemalloc/internal/rtree.h
+++ b/include/jemalloc/internal/rtree.h
@@ -178,9 +178,21 @@ rtree_leaf_elm_bits_read(tsdn_t *tsdn, rtree_t *rtree, rtree_leaf_elm_t *elm,
JEMALLOC_ALWAYS_INLINE extent_t *
rtree_leaf_elm_bits_extent_get(uintptr_t bits) {
+# ifdef __aarch64__
+ /*
+ * aarch64 doesn't sign extend the highest virtual address bit to set
+ * the higher ones. Instead, the high bits gets zeroed.
+ */
+ uintptr_t high_bit_mask = ((uintptr_t)1 << LG_VADDR) - 1;
+ /* Mask off the slab bit. */
+ uintptr_t low_bit_mask = ~(uintptr_t)1;
+ uintptr_t mask = high_bit_mask & low_bit_mask;
+ return (extent_t *)(bits & mask);
+# else
/* Restore sign-extended high bits, mask slab bit. */
return (extent_t *)((uintptr_t)((intptr_t)(bits << RTREE_NHIB) >>
RTREE_NHIB) & ~((uintptr_t)0x1));
+# endif
}
JEMALLOC_ALWAYS_INLINE szind_t

View File

@ -1 +1 @@
a5c4332705ed0e3fff1ac73cfe975640 jemalloc-2.2.5.tar.bz2
SHA512 (jemalloc-5.2.1.tar.bz2) = 0bbb77564d767cef0c6fe1b97b705d368ddb360d55596945aea8c3ba5889fbce10479d85ad492c91d987caacdbbdccc706aa3688e321460069f00c05814fae02