Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 677137 Details for
Bug 755497
x11-drivers/nvidia-drivers-455.38-r1: page allocation failure crashes in X11, compositors, etc if modesetting is on
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
nvidia-modeset.patch (text/plain), 703 bytes, created by
Gregory Beauregard
on 2020-12-07 11:56:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Gregory Beauregard
Created:
2020-12-07 11:56:01 UTC
Size:
703 bytes
patch
obsolete
>diff -Naur kernel.orig/kernel/nvidia-modeset/nvidia-modeset-linux.c kernel/kernel/nvidia-modeset/nvidia-modeset-linux.c >--- kernel.orig/kernel/nvidia-modeset/nvidia-modeset-linux.c 2020-10-21 23:17:41.000000000 -0700 >+++ kernel/kernel/nvidia-modeset/nvidia-modeset-linux.c 2020-11-04 10:35:44.113986369 -0800 >@@ -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) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 755497
: 677137