Re: [PATCH v1 03/18] mm/rmap: add fast-path for small folios when adding/removing/duplicating

From: Yin, Fengwei
Date: Fri Apr 19 2024 - 10:07:57 EST




On 4/10/2024 3:22 AM, David Hildenbrand wrote:
Let's add a fast-path for small folios to all relevant rmap functions.
Note that only RMAP_LEVEL_PTE applies.

This is a preparation for tracking the mapcount of large folios in a
single value.

Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>

Reviewed-by: Yin Fengwei <fengwei.yin@xxxxxxxxx>