Re: [PATCH v2] mm/rmap: synchronize lock and unlock target in anon_vma_clone
From: Lance Yang
Date: Sun Aug 16 2026 - 23:08:12 EST
On 2026/8/17 10:34, Eric Kim wrote:
Currently, in anon_vma_clone(), active_anon_vma is assigned from
src->anon_vma and is used when unlocking anon_vma after linking
new AVCs. However, the corresponding lock operation uses
src->anon_vma directly.
Use active_anon_vma consistently to make the lock/unlock pair explicit.
Signed-off-by: Eric Kim <seohyun.kim@xxxxxxxxxx>
---
v2:
- Clarify the commit message to explain that src->anon_vma and
active_anon_vma refer to the same anon_vma.
Just a heads-up... since only the commit message changed, the Reviewed-by
tags from v1 still apply, so please carry them over ...