Re: [PATCH v4 3/3] kselftest: mm: introduce size_to_shift() helper

From: Zi Yan

Date: Mon Sep 21 2026 - 11:38:40 EST


On 21 Sep 2026, at 6:36, Yeoreum Yun wrote:

> Introduce size_to_shift() for future users that need to
> obtain shift of a huge-page which is other than pmd_psize().
>
> Suggested-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Reviewed-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
> Signed-off-by: Yeoreum Yun <yeoreum.yun@xxxxxxx>
> ---
> tools/testing/selftests/mm/vm_util.c | 2 +-
> tools/testing/selftests/mm/vm_util.h | 12 ++++++++++++
> 2 files changed, 13 insertions(+), 1 deletion(-)
>
LGTM.

Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

Best Regards,
Yan, Zi