Infrastructure and build updates
- Update build configuration and flags - Add missing header files and dependencies - Update TLS list implementation with proper scoping - Fix various compilation warnings and issues - Update debug ring and tiny allocation infrastructure - Update benchmark results documentation Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
@ -108,6 +108,13 @@ void hak_tiny_init(void) {
|
||||
if (superslab_env) {
|
||||
g_use_superslab = (atoi(superslab_env) != 0) ? 1 : 0;
|
||||
}
|
||||
|
||||
// Initialize Super Front Cache (SFC) with bench-friendly defaults
|
||||
// Enabled by default; can be disabled via HAKMEM_SFC_ENABLE=0
|
||||
{
|
||||
extern void sfc_init(void);
|
||||
sfc_init();
|
||||
}
|
||||
// Note: Diet mode no longer overrides g_use_superslab (removed lines 104-105)
|
||||
// SuperSlab defaults to 1 unless explicitly disabled via env var
|
||||
// One-shot hint: publish/adopt requires SuperSlab ON
|
||||
|
||||
Reference in New Issue
Block a user