Re: [PATCH v2 2/7] mm: introduce zap_nonpresent_ptes()

From: Jann Horn
Date: Wed Nov 06 2024 - 16:49:41 EST


On Thu, Oct 31, 2024 at 9:14 AM Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> wrote:
> Similar to zap_present_ptes(), let's introduce zap_nonpresent_ptes() to
> handle non-present ptes, which can improve code readability.
>
> No functional change.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

This is a nice cleanup.

Reviewed-by: Jann Horn <jannh@xxxxxxxxxx>