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

Function pbuf_prealloc

freebsd/vm/vm_pager.c:215–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static void
216pbuf_prealloc(void *arg __unused)
217{
218
219 uma_prealloc(pbuf_zone, nswbuf_max);
220 nswbuf_max = -1;
221}
222
223SYSINIT(pbuf, SI_SUB_KTHREAD_BUF, SI_ORDER_ANY, pbuf_prealloc, NULL);
224

Callers

nothing calls this directly

Calls 1

uma_preallocFunction · 0.85

Tested by

no test coverage detected