On 8/13/26 20:12, Sarthak Sharma wrote: > Move read_file(), write_file(), read_num(), write_num() and > write_num_ignore_einval() out of tools/testing/selftests/mm/vm_util.c > into a new shared helper under tools/lib/mm/. > > These helpers are used by mm selftests today and will also be needed by > shared hugepage helpers in subsequent patches. Move them to a generic > location so they can be reused outside selftests as well. > > Keep the helpers exposed to mm selftests through vm_util.h by including > the new shared header there, and link the new helper into the > selftests/mm build. > > Update the explicit x86 protection_keys 32-bit and 64-bit build rules > to preserve prerequisite paths, now that file_utils.c is built from > tools/lib/mm. > > Add tools/lib/mm/ to the MEMORY MANAGEMENT - MISC entry in MAINTAINERS. > > Signed-off-by: Sarthak Sharma <[email protected]>
Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David

