Re: [PATCH 06/46] mm/filemap: read mapping->a_ops->free_folio under i_lock
From: Rik van Riel
Date: Mon Oct 26 2026 - 22:44:39 EST
On Tue, 2026-10-27 at 00:17 +0100, David Hildenbrand (Arm) wrote:
> From: Josef Bacik <josef@xxxxxxxxxxxxxx>
>
> The bug was found by code inspection and has not been reproduced.
>
I can't say I'm surprised ;)
I see clues that a most bunch of these issues
occasionally happen in our (rather large) fleet,
but not this one.
> Fix generated by an LLM and sent by Josef Bacik in private.
>
> Fixes: 59c66c5f8c4f ("mm: factor out page cache page freeing into a
> separate function")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>
> [ david: get rid of filemap_free_folio() entirely; improve patch
> description ]
> Signed-off-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>
--
All Rights Reversed.