[med-svn] [libzstd] 01/01: Follow hint given by James Cowgill to recude number of threads on 32Bit MIPS architecture

Andreas Tille tille at debian.org
Fri Sep 22 13:46:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libzstd.

commit 4fddc958c63950fdbe8060a4710d66910568786a
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 22 15:29:41 2017 +0200

    Follow hint given by James Cowgill to recude number of threads on 32Bit MIPS architecture
---
 debian/changelog                                      |  9 +++++++++
 .../0011-reduce_nbthreads_max_for_32bit_mips.patch    | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 787c35d..144410f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libzstd (1.3.1+dfsg-2) unstable; urgency=medium
+
+  * Team upload
+  * Follow hint given by James Cowgill to recude number of threads
+    on 32Bit MIPS architecture
+    Closes: #876416
+
+ -- Andreas Tille <tille at debian.org>  Fri, 22 Sep 2017 15:29:35 +0200
+
 libzstd (1.3.1+dfsg-1) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/patches/0011-reduce_nbthreads_max_for_32bit_mips.patch b/debian/patches/0011-reduce_nbthreads_max_for_32bit_mips.patch
new file mode 100644
index 0000000..3f28726
--- /dev/null
+++ b/debian/patches/0011-reduce_nbthreads_max_for_32bit_mips.patch
@@ -0,0 +1,19 @@
+Author: James Cowgill <jcowgill at jcowgill.uk>
+Last-Update: Fri, 22 Sep 2017 11:16:52 +0100
+Bug-Debian: https://bugs.debian.org/876416
+Description: Reduce number of threads for 32 bit MIPS architecture
+
+--- a/lib/compress/zstdmt_compress.c
++++ b/lib/compress/zstdmt_compress.c
+@@ -9,7 +9,11 @@
+ 
+ 
+ /* ======   Tuning parameters   ====== */
++#if defined(__mips__) && !defined(__mips64)
++#define ZSTDMT_NBTHREADS_MAX 248
++#else
+ #define ZSTDMT_NBTHREADS_MAX 256
++#endif
+ #define ZSTDMT_OVERLAPLOG_DEFAULT 6
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e43cf25..5add101 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 0008-Address-embedded-zlib.patch
 0009-Add-shebang-for-scripts.patch
 0010-do_not_make_examples.patch
+0011-reduce_nbthreads_max_for_32bit_mips.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libzstd.git



More information about the debian-med-commit mailing list