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:
@ -22,6 +22,12 @@ static _Atomic(uint32_t) g_ready_rr[TINY_NUM_CLASSES];
|
||||
static inline int tiny_ready_enabled(void) {
|
||||
static int g_ready_en = -1;
|
||||
if (__builtin_expect(g_ready_en == -1, 0)) {
|
||||
// Hard disable gate for isolation runs
|
||||
const char* dis = getenv("HAKMEM_TINY_DISABLE_READY");
|
||||
if (dis && atoi(dis) != 0) {
|
||||
g_ready_en = 0;
|
||||
return g_ready_en;
|
||||
}
|
||||
const char* e = getenv("HAKMEM_TINY_READY");
|
||||
// Default ON unless explicitly disabled
|
||||
g_ready_en = (e && *e == '0') ? 0 : 1;
|
||||
|
||||
Reference in New Issue
Block a user