Re: [PATCH 0/2] mm: fix deadlock on the folio lock due to inode eviction
From: David Hildenbrand (Arm)
Date: Mon Nov 23 2026 - 11:27:35 EST
On 11/23/26 06:53, Chris Down wrote:
> Hi David,
>
> Thanks, this looks good. I exercised that in a VM:
>
> - with the series applied, migrate_pages() on a virtiofs file mapping
> no longer allocates destination folios while it holds folios from
> the batch locked
> - splitting a file THP no longer passes __GFP_FS to the XArray node
> allocations
> - and the migration and split_huge_page selftests still pass
>
> That said, I didn't manage to practically trigger the deadlock with a
> virtiofs mbind() migration racing an unmap before this patch. It might
> just be that I am unlucky though, and the code looks correct.
>
> Given that for the whole series:
>
> Reviewed-by: Chris Down <chris@xxxxxxxxxxxxxx>
Thanks everyone for the very fast review!
--
Cheers,
David