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

Function setup_runqs

freebsd/kern/sched_4bsd.c:181–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179DPCPU_DEFINE_STATIC(struct pcpuidlestat, idlestat);
180
181static void
182setup_runqs(void)
183{
184#ifdef SMP
185 int i;
186
187 for (i = 0; i < MAXCPU; ++i)
188 runq_init(&runq_pcpu[i]);
189#endif
190
191 runq_init(&runq);
192}
193
194static int
195sysctl_kern_quantum(SYSCTL_HANDLER_ARGS)

Callers 1

sched_setupFunction · 0.85

Calls 1

runq_initFunction · 0.85

Tested by

no test coverage detected