On 8/13/26 20:12, Sarthak Sharma 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. > > Remove the remaining kselftest dependency by including file_utils.h > directly and using EXIT_FAILURE in the signal handler. > > Signed-off-by: Sarthak Sharma <[email protected]>
Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David

