Re: [PATCH v7 3/6] tools/lib/mm: move hugepage_settings out of selftests

From: Mike Rapoport

Date: Mon Aug 24 2026 - 04:00:27 EST


On Thu, 13 Aug 2026 23:42:27 +0530, Sarthak Sharma <sarthak.sharma@xxxxxxx> wrote:
> Move hugepage_settings.[ch] from tools/testing/selftests/mm/ to
> tools/lib/mm/ so the THP and HugeTLB helpers can be shared more easily
> between selftests and other tools.
>
> Keep the helpers exposed to mm selftests through vm_util.h where possible,
> and use direct <mm/hugepage_settings.h> includes for files that do not
> include vm_util.h. Adjust the selftests/mm build to compile the moved
> implementation from its new location.
>
> [...]

Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

--
Sincerely yours,
Mike.