MCPcopy Create free account
hub / github.com/F-Stack/f-stack / zone_log_warning

Function zone_log_warning

freebsd/vm/uma_core.c:911–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909}
910
911static void
912zone_log_warning(uma_zone_t zone)
913{
914 static const struct timeval warninterval = { 300, 0 };
915
916 if (!zone_warnings || zone->uz_warning == NULL)
917 return;
918
919 if (ratecheck(&zone->uz_ratecheck, &warninterval))
920 printf("[zone: %s] %s\n", zone->uz_name, zone->uz_warning);
921}
922
923static inline void
924zone_maxaction(uma_zone_t zone)

Callers 1

zone_alloc_limit_hardFunction · 0.85

Calls 2

ratecheckFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected