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

Function bucket_enable

freebsd/vm/uma_core.c:397–403  ·  view source on GitHub ↗

* This routine checks to see whether or not it's safe to enable buckets. */

Source from the content-addressed store, hash-verified

395 * This routine checks to see whether or not it's safe to enable buckets.
396 */
397static void
398bucket_enable(void)
399{
400
401 KASSERT(booted >= BOOT_KVA, ("Bucket enable before init"));
402 bucketdisable = vm_page_count_min();
403}
404
405/*
406 * Initialize bucket_zones, the array of zones of buckets of various sizes.

Callers 3

uma_timeoutFunction · 0.85
uma_startup2Function · 0.85
uma_reclaimFunction · 0.85

Calls 1

vm_page_count_minFunction · 0.85

Tested by

no test coverage detected