Re: [PATCH 03/12] mm/khugepaged: rename mthp_present_ptes bitmap to eligible_ptes
From: Kiryl Shutsemau
Date: Mon Sep 07 2026 - 06:44:34 EST
On Mon, Sep 07, 2026 at 03:54:19PM +0800, Baolin Wang wrote:
> Should also update the following comments: s/occupied/accepted as a collapse
> source ?
Yes. v2 renames nr_occupied_ptes to nr_eligible_ptes as Zi asked and
rewrites that paragraph in the same terms, so the comment, the bitmap
and the count all say eligible.
> "
> * For each of these, we determine how many PTE entries are occupied in the
> * range of PTE entries we propose to collapse, then we compare this to a
> * threshold number of PTE entries which would need to be occupied for a
> * collapse to be permitted at that order (accounting for max_ptes_none).
> "
>
> With that and Zi's comments addressed,
> Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Thanks you, both.
--
Kiryl Shutsemau / Kirill A. Shutemov