[PATCH 06/46] mm/filemap: read mapping->a_ops->free_folio under i_lock

Rik van Riel riel at surriel.com
Mon Oct 26 19:43:00 PDT 2026


On Tue, 2026-10-27 at 00:17 +0100, David Hildenbrand (Arm) wrote:
> From: Josef Bacik <josef at toxicpanda.com>
> 
> 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 at vger.kernel.org
> Signed-off-by: Josef Bacik <josef at toxicpanda.com>
> [ david: get rid of filemap_free_folio() entirely; improve patch
> description ]
> Signed-off-by: David Hildenbrand (Arm) <david at kernel.org>
> 

Reviewed-by: Rik van Riel <riel at surriel.com>

-- 
All Rights Reversed.



More information about the kexec mailing list