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

Function uma_startup_pcpu

freebsd/vm/uma_core.c:2998–3004  ·  view source on GitHub ↗

* Allocate counters as early as possible so that boot-time allocations are * accounted more precisely. */

Source from the content-addressed store, hash-verified

2996 * accounted more precisely.
2997 */
2998static void
2999uma_startup_pcpu(void *arg __unused)
3000{
3001
3002 zone_foreach_unlocked(zone_alloc_counters, NULL);
3003 booted = BOOT_PCPU;
3004}
3005SYSINIT(uma_startup_pcpu, SI_SUB_COUNTER, SI_ORDER_ANY, uma_startup_pcpu, NULL);
3006
3007/*

Callers

nothing calls this directly

Calls 1

zone_foreach_unlockedFunction · 0.85

Tested by

no test coverage detected