summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-02-23 17:34:44 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-02-27 16:35:31 +0100
commit7f6317d96ed9ef220eea6945d03fb77e1a29d197 (patch)
tree6de8e58d1dfc16f6c88dc7db675b76ec583e530b
parentsys-libs/libselinux: remove unused patch(es) (diff)
downloadgentoo-7f6317d96ed9ef220eea6945d03fb77e1a29d197.tar.gz
gentoo-7f6317d96ed9ef220eea6945d03fb77e1a29d197.tar.bz2
gentoo-7f6317d96ed9ef220eea6945d03fb77e1a29d197.zip
x11-drivers/nvidia-drivers: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/19617 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch
deleted file mode 100644
index c61033bf2a92..000000000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Patch taken from
- https://forums.developer.nvidia.com/t/455-23-04-page-allocation-failure-in-kernel-module-at-random-points/155250/55
-Bug: https://bugs.gentoo.org/755497
-Credits go to Gregory Beauregard for pointing this out
-
---- a/kernel/nvidia-modeset/nvidia-modeset-linux.c
-+++ b/kernel/nvidia-modeset/nvidia-modeset-linux.c
-@@ -282,8 +282,8 @@
- * are called while nvkms_lock is held.
- *************************************************************************/
-
--/* Don't use kmalloc for allocations larger than 128k */
--#define KMALLOC_LIMIT (128 * 1024)
-+/* Don't use kmalloc for allocations larger than one page */
-+#define KMALLOC_LIMIT PAGE_SIZE
-
- void* NVKMS_API_CALL nvkms_alloc(size_t size, NvBool zero)
- {