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

Function uma_timeout

freebsd/vm/uma_core.c:941–949  ·  view source on GitHub ↗

* Routine called by timeout which is used to fire off some time interval * based calculations. (stats, hash size, etc.) * * Arguments: * arg Unused * * Returns: * Nothing */

Source from the content-addressed store, hash-verified

939 * Nothing
940 */
941static void
942uma_timeout(void *unused)
943{
944 bucket_enable();
945 zone_foreach(zone_timeout, NULL);
946
947 /* Reschedule this event */
948 callout_reset(&uma_callout, UMA_TIMEOUT * hz, uma_timeout, NULL);
949}
950
951/*
952 * Update the working set size estimate for the zone's bucket cache.

Callers

nothing calls this directly

Calls 2

bucket_enableFunction · 0.85
zone_foreachFunction · 0.85

Tested by

no test coverage detected