Phase 6-2.4: Fix SuperSlab free SEGV: remove guess loop and add memory readability check; add registry atomic consistency (base as _Atomic uintptr_t with acq/rel); add debug toggles (SUPER_REG_DEBUG/REQTRACE); update CURRENT_TASK with results and next steps; capture suite results.

This commit is contained in:
Moe Charm (CI)
2025-11-07 18:07:48 +09:00
parent b6d9c92f71
commit 382980d450
29 changed files with 2128 additions and 22 deletions

View File

@ -229,6 +229,7 @@ extern __thread uint64_t g_malloc_fast_path_null;
extern __thread uint64_t g_malloc_slow_path;
void tiny_fast_print_profile(void) {
#ifndef HAKMEM_FORCE_LIBC_ALLOC_BUILD
if (!profile_enabled()) return;
if (g_tiny_malloc_count == 0 && g_tiny_free_count == 0) return; // No data
@ -300,4 +301,5 @@ void tiny_fast_print_profile(void) {
}
fprintf(stderr, "===================================================================\n\n");
#endif // !HAKMEM_FORCE_LIBC_ALLOC_BUILD
}