Re: [PATCH v4 6/7] mm/khugepaged: unmap pte before releasing vma write lock
Lance Yang <[email protected]>
| Newsgroups | gmane.linux.documentation,gmane.linux.kernel.mm,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 11, 2026 at 06:48:38AM -0600, Nico Pache (Red Hat) wrote: >We are currently dropping the anon_vma write lock before unmapping the >PTE. Although this is safe, due to us still holding the mmap_write_lock, >its safer and less confusing to switch the order of these two operations. > >Suggested-by: David Hildenbrand <[email protected]> >Acked-by: David Hildenbrand (Arm) <[email protected]> >Signed-off-by: Nico Pache (Red Hat) <[email protected]> >--- Reviewed-by: Lance Yang <[email protected]>