Re: [PATCH 0/2] mm: fix deadlock on the folio lock due to inode eviction
From: Chris Down
Date: Mon Nov 23 2026 - 00:53:19 EST
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>
Chris