Re: [PATCH RFC 1/1] mm/filemap: handle large folio split race in page cache lookups
From: Matthew Wilcox
Date: Fri Mar 06 2026 - 13:43:21 EST
On Fri, Mar 06, 2026 at 06:36:30PM +0000, Kiryl Shutsemau wrote:
> The proposed change doesn't fix anything, but hides the problem.
> It would be better to downgrade the VM_BUG_ON_FOLIO() to a warning +
> retry.
The trouble is that a retry only happens to work in ... whatever scenario
this is. If there's a persistent corruption of the radix tree, a retry
might be an infinite loop which isn't terribly helpful.