Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/files/
Date: Sat, 27 Feb 2021 15:38:10
Message-Id: 1614440131.7f6317d96ed9ef220eea6945d03fb77e1a29d197.conikost@gentoo
1 commit: 7f6317d96ed9ef220eea6945d03fb77e1a29d197
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Tue Feb 23 16:34:44 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 15:35:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6317d9
7
8 x11-drivers/nvidia-drivers: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/19617
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 ...nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch | 18 ------------------
16 1 file changed, 18 deletions(-)
17
18 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
19 deleted file mode 100644
20 index c61033bf2a9..00000000000
21 --- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-455.45.01-reduce-kmalloc-limit.patch
22 +++ /dev/null
23 @@ -1,18 +0,0 @@
24 -Patch taken from
25 - https://forums.developer.nvidia.com/t/455-23-04-page-allocation-failure-in-kernel-module-at-random-points/155250/55
26 -Bug: https://bugs.gentoo.org/755497
27 -Credits go to Gregory Beauregard for pointing this out
28 -
29 ---- a/kernel/nvidia-modeset/nvidia-modeset-linux.c
30 -+++ b/kernel/nvidia-modeset/nvidia-modeset-linux.c
31 -@@ -282,8 +282,8 @@
32 - * are called while nvkms_lock is held.
33 - *************************************************************************/
34 -
35 --/* Don't use kmalloc for allocations larger than 128k */
36 --#define KMALLOC_LIMIT (128 * 1024)
37 -+/* Don't use kmalloc for allocations larger than one page */
38 -+#define KMALLOC_LIMIT PAGE_SIZE
39 -
40 - void* NVKMS_API_CALL nvkms_alloc(size_t size, NvBool zero)
41 - {