v2
2026-10-01
DONTUNMAP 记账问题修复 · v2
修复 MREMAP_DONTUNMAP 自合并和拆分 VMA 的 locked_vm 泄漏,该系列在 linux-next 触发 proc_maps_race 自测失败。
原始补丁链接
子 Patch(2)
1/2
mm/mremap: fix locked_vm leak from MREMAP_DONTUNMAP self-merge
The MREMAP_DONTUNMAP feature is highly unusual in that it permits mremap() operations that keep the original VMA in place. Historically this has led to a lot of bugs where non-obvious interactions oc
2/2
mm/mremap: fix locked_vm leak by splitting VMA for MREMAP_DONTUNMAP
The MREMAP_DONTUNMAP feature is highly unusual in that it permits mremap() operations that keep the original VMA in place. Historically this has led to a lot of bugs where non-obvious interactions oc