aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2017-06-06 09:17:06 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-03 10:54:52 +0200
commit6cbf04001ec0eede72a43f297c93586971445128 (patch)
tree255e93e717a0a14f05626a0ef8556de94df5e8ab /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parent12d016626f99f48edbf5b006625b4e8c0de1eec7 (diff)
drm/etnaviv: don't trigger OOM killer when page allocation fails
GPU buffers can be quite large, so userspace is expected to deal with allocation failure. Don't trigger the OOM killer when page allocation for the GEM objects fails, as this opens an easy possiblity for unprivileged applications to DOS the system,a s the shmem pages are not fully accounted to the allocating process. Signed-off-by: Lucas Stach <dev@lynxeye.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions