Re: [PATCH] hugetlbfs: emit hugetlbfs_free_inode from ->destroy_inode()
From: Joas Antonio dos Santos
Date: Thu Oct 29 2026 - 10:27:37 EST
On 10/29/26 11:45, David Hildenbrand wrote:
> Should we rename the tracepoint then?
Fair point, "free_inode" no longer matches where it fires.
I'd keep this patch as is, though, since it is tagged for stable:
the event name is visible to users in tracefs
(events/hugetlbfs/hugetlbfs_free_inode), and renaming it in stable
kernels would break existing tracing setups there just to fix the
use-after-free.
I can send a follow-up on top of it for mm-unstable that renames the
event to hugetlbfs_destroy_inode, which also matches the
hugetlbfs_evict_inode name next to it. Would that work for you, or
would you prefer the rename folded into a v2?
Thanks,
Joas