Reunify default BUFFER_SIZE on ARM64 to avoid crashes in DYNAMIC_ARCH
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 1 Nov 2020 09:47:26 +0000 (09:47 +0000)
committerSébastien Villemot <sebastien@debian.org>
Sun, 1 Nov 2020 09:47:26 +0000 (09:47 +0000)
Origin: upstream, https://github.com/xianyi/OpenBLAS/pull/2963/commits/7f26be4802042d7c54bd1645c54adc3e2ff72d50
Bug: https://github.com/xianyi/OpenBLAS/issues/2959
Bug-Debian: https://bugs.debian.org/970558
Last-Update: 2020-11-01

Last-Update: 2020-11-01
Gbp-Pq: Name reunify-arm64-buffersize.patch

common_arm64.h

index 3149462823e56a576c523a90221b18f4fe9f56ea..9cdded305cef5715dd2f335e1d00eb1e4c6548e6 100644 (file)
@@ -142,14 +142,8 @@ REALNAME:
 #define HUGE_PAGESIZE   ( 4 << 20)
 
 #ifndef BUFFERSIZE
-#if defined(CORTEXA57)
-#define BUFFER_SIZE     (20 << 20)
-#elif defined(TSV110) || defined(EMAG8180)
 #define BUFFER_SIZE     (32 << 20)
 #else
-#define BUFFER_SIZE     (16 << 20)
-#endif
-#else
 #define BUFFER_SIZE    (32 << BUFFERSIZE)
 #endif