aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/adjust-cache-deflate-buffer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/adjust-cache-deflate-buffer.patch')
-rw-r--r--main/mesa/adjust-cache-deflate-buffer.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/mesa/adjust-cache-deflate-buffer.patch b/main/mesa/adjust-cache-deflate-buffer.patch
deleted file mode 100644
index 625f723bac9..00000000000
--- a/main/mesa/adjust-cache-deflate-buffer.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ru mesa-18.1.7.orig/src/util/disk_cache_os.c mesa-18.1.7/src/util/disk_cache.c
---- mesa-18.1.7.orig/src/util/disk_cache_os.c 2018-08-24 19:25:19.000000000 +0300
-+++ mesa-18.1.7/src/util/disk_cache_os.c 2018-12-14 13:59:15.433631846 +0200
-@@ -45,8 +45,11 @@
- /* From the zlib docs:
- * "If the memory is available, buffers sizes on the order of 128K or 256K
- * bytes should be used."
-+ *
-+ * But that is performance optimization for large files. To keep stack usage
-+ * in sensible amount (wrt. musl default stack) we use smaller stack on Alpine.
- */
--#define BUFSIZE 256 * 1024
-+#define BUFSIZE 4 * 1024
-
- static ssize_t
- write_all(int fd, const void *buf, size_t count);