Re: [PATCH v5 3/3] kselftest: mm: introduce size_to_shift() helper
From: Mike Rapoport
Date: Fri Oct 09 2026 - 13:17:57 EST
On Fri, Oct 09, 2026 at 02:27:34AM +0100, 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>
Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> ---
> tools/testing/selftests/mm/vm_util.c | 2 +-
> tools/testing/selftests/mm/vm_util.h | 12 ++++++++++++
> 2 files changed, 13 insertions(+), 1 deletion(-)
--
Sincerely yours,
Mike.