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

Function maybe_yield

freebsd/kern/kern_synch.c:648–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void
649maybe_yield(void)
650{
651
652 if (should_yield())
653 kern_yield(PRI_USER);
654}
655
656void
657kern_yield(int prio)

Callers 15

uiomove_fromphysFunction · 0.85
uiomove_fromphysFunction · 0.85
_vm_gla2gpaFunction · 0.85
pmap_large_map_wb_largeFunction · 0.85
uiomove_fromphysFunction · 0.85
uiomove_fromphysFunction · 0.85
uiomove_fromphysFunction · 0.85
bufspace_daemonFunction · 0.85
flushbufqueuesFunction · 0.85
vn_fallocateFunction · 0.85

Calls 2

should_yieldFunction · 0.85
kern_yieldFunction · 0.70

Tested by

no test coverage detected