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

Function bucket_zone_drain

freebsd/vm/uma_core.c:527–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527static void
528bucket_zone_drain(void)
529{
530 struct uma_bucket_zone *ubz;
531
532 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++)
533 uma_zone_reclaim(ubz->ubz_zone, UMA_RECLAIM_DRAIN);
534}
535
536/*
537 * Acquire the domain lock and record contention.

Callers 1

uma_reclaimFunction · 0.85

Calls 1

uma_zone_reclaimFunction · 0.85

Tested by

no test coverage detected