- mremap_expand_merge(page_size);
+ maps_fp = fopen("/proc/self/maps", "r");
+ if (maps_fp == NULL) {
+ ksft_print_msg("Failed to read /proc/self/maps: %s\n", strerror(errno));
+ exit(KSFT_FAIL);
+ } else {
+ mremap_expand_merge(maps_fp, page_size);
+ mremap_expand_merge_offset(maps_fp, page_size);
+
+ fclose(maps_fp);
+ }
if (run_perf_tests) {
ksft_print_msg("\n%s\n",