Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
641
int
642
should_yield(void)
643
{
644
645
return ((u_int)ticks - (u_int)curthread->td_swvoltick >= hogticks);
646
}
647
648
void
649
maybe_yield(void)
Callers
7
vop_stdallocate
Function · 0.85
vlrureclaim
Function · 0.85
__mnt_vnode_next_all
Function · 0.85
mnt_vnode_next_lazy
Function · 0.85
__mnt_vnode_next_lazy
Function · 0.85
maybe_yield
Function · 0.85
vm_swapout_object_deactivate
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected