From: Yann Collet Date: Thu, 28 Sep 2017 20:49:12 +0000 (-0700) Subject: zstdmt : reduced maximum nb of threads X-Git-Tag: v1.3.2~3^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93598d6a4b50c85f43e59803afe31d6ac84a6b0;p=thirdparty%2Fzstd.git zstdmt : reduced maximum nb of threads to avoid memory address space issues on 32-bits systems (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876416#17) --- diff --git a/lib/compress/zstdmt_compress.c b/lib/compress/zstdmt_compress.c index b15bf05af..a653704ab 100644 --- a/lib/compress/zstdmt_compress.c +++ b/lib/compress/zstdmt_compress.c @@ -10,7 +10,7 @@ /* ====== Tuning parameters ====== */ -#define ZSTDMT_NBTHREADS_MAX 256 +#define ZSTDMT_NBTHREADS_MAX 200 #define ZSTDMT_OVERLAPLOG_DEFAULT 6