Resurrecting the stuff from last cycle. Context: several places in drm have racy uses of close_fd(). Not hard to fix, thankfully. Changed since the last posting: as requested, KFD fix had been split in two commits - introduction of helper (drm_gem_prime_handle_to_dmabuf()) and switching kfd_mem_export_dmabuf() to that. Branch in git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #for-drm, individual patches in followups. Please, review; IMO that ought to go through drm and amd-gfx trees. Shortlog: Al Viro (4): new helper: drm_gem_prime_handle_to_dmabuf() amdgpu: fix a race in kfd_mem_export_dmabuf() amdkfd CRIU fixes amdgpu: get rid of bogus includes of fdtable.h Diffstat: .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 12 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 64 ++++++++++++----- drivers/gpu/drm/drm_prime.c | 84 +++++++++++----------- include/drm/drm_prime.h | 3 + 6 files changed, 95 insertions(+), 70 deletions(-)