Re: [PATCH] mm/huge_memory: fix folio split check for anon folios in swapcache.
From: David Hildenbrand (Red Hat)
Date: Wed Nov 05 2025 - 11:31:25 EST
On 05.11.25 17:29, Zi Yan wrote:
Nit: drop trailing "." in subject.
I'm sure Andrew can fix that up :)
Both uniform and non uniform split check missed the check to prevent
splitting anon folios in swapcache to non-zero order. Fix the check.
Fixes: 58729c04cf10 ("mm/huge_memory: add buddy allocator like (non-uniform) folio_split()")
Reported-by: "David Hildenbrand (Red Hat)" <david@xxxxxxxxxx>
Closes: https://lore.kernel.org/all/dc0ecc2c-4089-484f-917f-920fdca4c898@xxxxxxxxxx/
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>
---
Thanks!
Acked-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>
--
Cheers
David