Phase TLS-UNIFY-3: C6 intrusive freelist implementation (完成)
Implement C6 ULTRA intrusive LIFO freelist with ENV gating: - Single-linked LIFO using next pointer at USER+1 offset - tiny_next_store/tiny_next_load for pointer access (single source of truth) - Segment learning via ss_fast_lookup (per-class seg_base/seg_end) - ENV gate: HAKMEM_TINY_C6_ULTRA_INTRUSIVE_FL (default OFF) - Counters: c6_ifl_push/pop/fallback in FREE_PATH_STATS Files: - core/box/tiny_ultra_tls_box.h: Added c6_head field for intrusive LIFO - core/box/tiny_ultra_tls_box.c: Pop/push with intrusive branching (case 6) - core/box/tiny_c6_ultra_intrusive_env_box.h: ENV gate (new) - core/box/tiny_c6_intrusive_freelist_box.h: L1 pure LIFO (new) - core/tiny_debug_ring.h: C6_IFL events - core/box/free_path_stats_box.h/c: c6_ifl_* counters A/B Test Results (1M iterations, ws=200, 257-512B): - ENV_OFF (array): 56.6 Mop/s avg - ENV_ON (intrusive): 57.6 Mop/s avg (+1.8%, within noise) - Counters verified: c6_ifl_push=265890, c6_ifl_pop=265815, fallback=0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2
hakmem.d
2
hakmem.d
@ -127,6 +127,7 @@ hakmem.o: core/hakmem.c core/hakmem.h core/hakmem_build_flags.h \
|
||||
core/box/../front/../box/tiny_c5_ultra_free_env_box.h \
|
||||
core/box/../front/../box/tiny_c4_ultra_free_box.h \
|
||||
core/box/../front/../box/tiny_c4_ultra_free_env_box.h \
|
||||
core/box/../front/../box/tiny_ultra_tls_box.h \
|
||||
core/box/../front/../box/tiny_ultra_classes_box.h \
|
||||
core/box/../front/../box/tiny_legacy_fallback_box.h \
|
||||
core/box/../front/../box/tiny_front_v3_env_box.h \
|
||||
@ -343,6 +344,7 @@ core/box/../front/../box/tiny_c5_ultra_free_box.h:
|
||||
core/box/../front/../box/tiny_c5_ultra_free_env_box.h:
|
||||
core/box/../front/../box/tiny_c4_ultra_free_box.h:
|
||||
core/box/../front/../box/tiny_c4_ultra_free_env_box.h:
|
||||
core/box/../front/../box/tiny_ultra_tls_box.h:
|
||||
core/box/../front/../box/tiny_ultra_classes_box.h:
|
||||
core/box/../front/../box/tiny_legacy_fallback_box.h:
|
||||
core/box/../front/../box/tiny_front_v3_env_box.h:
|
||||
|
||||
Reference in New Issue
Block a user