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:
@ -298,6 +298,14 @@ static void hak_init_impl(void) {
|
||||
extern void hak_tiny_prewarm_tls_cache(void);
|
||||
hak_tiny_prewarm_tls_cache();
|
||||
HAKMEM_LOG("TLS cache pre-warmed for %d classes\n", TINY_NUM_CLASSES);
|
||||
// After TLS prewarm, cascade some hot blocks into SFC to raise early hit rate
|
||||
{
|
||||
extern int g_sfc_enabled;
|
||||
if (g_sfc_enabled) {
|
||||
extern void sfc_cascade_from_tls_initial(void);
|
||||
sfc_cascade_from_tls_initial();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
g_initializing = 0;
|
||||
|
||||
Reference in New Issue
Block a user