Re: [PATCH 6.18.y] mm/huge_memory: unlock i_mmap_rwsem before releasing after-split folios
Sasha Levin <[email protected]>
| Newsgroups | org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 05, 2026 at 02:45:25PM +0100, Kiryl Shutsemau wrote: > Do every mapping dereference while @folio still pins the inode: drop > i_mmap_rwsem right after remap_page(), before the loop that unlocks and > frees the after-split folios, and clear @mapping so the exit path does not > unlock it again. Queued for 6.18, thanks. -- Thanks, Sasha