aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2025-07-30 19:44:55 +0000
committerThomas Gleixner <[email protected]>2025-08-02 13:11:52 +0000
commite703b7e247503b8bf87b62c02a4392749b09eca8 (patch)
treece803d8a07303fbb4d6685607c8929f1ae34e514 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentMerge tag 'x86-platform-2025-07-29' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-e703b7e247503b8bf87b62c02a4392749b09eca8.tar.gz
kernel-e703b7e247503b8bf87b62c02a4392749b09eca8.zip
futex: Move futex cleanup to __mmdrop()
Futex hash allocations are done in mm_init() and the cleanup happens in __mmput(). That works most of the time, but there are mm instances which are instantiated via mm_alloc() and freed via mmdrop(), which causes the futex hash to be leaked. Move the cleanup to __mmdrop(). Fixes: 56180dd20c19 ("futex: Use RCU-based per-CPU reference counting instead of rcuref_t") Reported-by: AndrĂ© Draszik <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: AndrĂ© Draszik <[email protected]> Link: https://lore.kernel.org/all/87ldo5ihu0.ffs@tglx Closes: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions