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

Function should_yield

freebsd/kern/kern_synch.c:641–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641int
642should_yield(void)
643{
644
645 return ((u_int)ticks - (u_int)curthread->td_swvoltick >= hogticks);
646}
647
648void
649maybe_yield(void)

Callers 7

vop_stdallocateFunction · 0.85
vlrureclaimFunction · 0.85
__mnt_vnode_next_allFunction · 0.85
mnt_vnode_next_lazyFunction · 0.85
__mnt_vnode_next_lazyFunction · 0.85
maybe_yieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected