Re: [PATCH] mm/rmap: remove stale hugetlb check in try_to_unmap_one

From: Lance Yang

Date: Mon Aug 31 2026 - 05:32:58 EST




On 2026/8/31 16:28, Dev Jain wrote:
Post commit d4ec5572825a ("mm/rmap: add try_to_unmap_poisoned_hugetlb_one")
try_to_unmap_one() cannot be called with a hugetlb folio. Therefore remove
the folio_test_hugetlb() check.

Signed-off-by: Dev Jain <dev.jain@xxxxxxx>
---

Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>