Skip to contentSkip to conversation

hugetlbfs: check for shareable lock before calling huge_pmd_unshare()

PATCH Deepanshu Kartikey 1 participant 1 message Oct 13, 2025 Memory management

lore
Share & tools
lore
#0 lore raw

Hi David,

That makes a lot of sense - moving the assertions after the early return checks is cleaner since the locks are only needed when actual unsharing work happens.

Should I send a v5 with your suggested change?

Thanks,
Deepanshu