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

Function keg_drain

freebsd/vm/uma_core.c:1462–1471  ·  view source on GitHub ↗

* Frees pages from a keg back to the system. This is done on demand from * the pageout daemon. * * Returns nothing. */

Source from the content-addressed store, hash-verified

1460 * Returns nothing.
1461 */
1462static void
1463keg_drain(uma_keg_t keg)
1464{
1465 int i;
1466
1467 if ((keg->uk_flags & UMA_ZONE_NOFREE) != 0)
1468 return;
1469 for (i = 0; i < vm_ndomains; i++)
1470 keg_drain_domain(keg, i);
1471}
1472
1473static void
1474zone_reclaim(uma_zone_t zone, int waitok, bool drain)

Callers 1

zone_reclaimFunction · 0.85

Calls 1

keg_drain_domainFunction · 0.85

Tested by

no test coverage detected