diff options
| author | 2021-03-07 12:48:53 -0500 | |
|---|---|---|
| committer | 2021-11-12 23:46:04 +0100 | |
| commit | bd6e07e72f37f34535bec7eebc807e5fcfe37b43 (patch) | |
| tree | 2d53b599ee1808c42d61ca077e6ba32b300e2f4c /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | nouveau/nvkm/subdev/devinit/mcp89.c:Unneeded variable (diff) | |
| download | linux-dev-bd6e07e72f37f34535bec7eebc807e5fcfe37b43.tar.xz linux-dev-bd6e07e72f37f34535bec7eebc807e5fcfe37b43.zip | |
drm/nouveau/kms/nv04: use vzalloc for nv04_display
The struct is giant, and triggers an order-7 allocation (512K). There is
no reason for this to be kmalloc-type memory, so switch to vmalloc. This
should help loading nouveau on low-memory and/or long-running systems.
Reported-by: Nathan E. Egge <unlord@xiph.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
