Re: [PATCH v2] mm/rmap: synchronize lock and unlock target in anon_vma_clone
Rik van Riel <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2026-08-17 at 11:34 +0900, 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 <[email protected]> Reviewed-by: Rik van Riel <[email protected]> -- All Rights Reversed.