Re: [PATCH v2 2/2] mm: remove unused folio refcount helpers
From: David Hildenbrand (Arm)
Date: Wed Nov 11 2026 - 03:03:22 EST
On 11/11/26 04:34, Shivank Garg wrote:
> folio_ref_inc_return(), folio_ref_dec_and_test() and folio_ref_dec_return()
> have had no callers since they were added in commit c24016ac3a62 ("mm: Add
> folio reference count functions"). The last folio_ref_sub_return() user
> was removed in commit 38607c62b34b ("fs/dax: properly refcount fs dax
> pages").
>
> Signed-off-by: Shivank Garg <shivankg@xxxxxxx>
Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David