Re: [PATCH v2 1/5] mm/memory-failure: keep the folio, not the poisoned subpage, locked across split
From: Kiryl Shutsemau
Date: Tue Jul 14 2026 - 12:43:08 EST
On Tue, Jul 14, 2026 at 11:44:39AM -0400, Zi Yan wrote:
> There is an alternative, only igrab() when @lock_at is at or beyond the EOF,
> as I was bouncing ideas with Codex.
I saw this option too, but I wound rather not go this path.
iput() still can lead to inode eviction an bunch of random filesystem
complexity under us. I don't think we want to think about other
fs-related locking issues in split context.
--
Kiryl Shutsemau / Kirill A. Shutemov