You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: 56180dd ("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]
0 commit comments