aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2019-11-21 20:59:28 +0000
committerJonathan Corbet <[email protected]>2019-11-22 17:35:14 +0000
commitdffd011480d727a819c537edf3b90ef063731725 (patch)
tree965ea41e24cbbeb978dc436d8cb28f70871d8f33 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdocs, parallelism: Fix failure path and add comment (diff)
downloadkernel-dffd011480d727a819c537edf3b90ef063731725.tar.gz
kernel-dffd011480d727a819c537edf3b90ef063731725.zip
docs, parallelism: Do not leak blocking mode to other readers
Setting non-blocking via a local copy of the jobserver file descriptor is safer than just assuming other reader processes with the same fd open are prepared for it to be non-blocking. Suggested-by: Rasmus Villemoes <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions