FreeBSD/sys/net/netisr.c
/*
 * Start worker threads for additional CPUs.  No attempt to gracefully handle
 * work reassignment, we don't yet support dynamic reconfiguration.
 */
Start worker threads for additional CPUs.  No attempt to gracefully handle
work reassignment, we don't yet support dynamic reconfiguration.
Start worker threads for additional CPUs . No attempt to gracefully handle work reassignment we don ' t yet support dynamic reconfiguration .
static void
netisr_start(void *arg)
{
	struct pcpu *pc;
	STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
		if (nws_count >= netisr_maxthreads)
			break;
		if (pc->pc_netisr != NULL)
			continue;
		netisr_start_swi(pc->pc_cpuid, pc);
	}
}
static void netisr_start ( void * arg ) { struct pcpu * pc ; STAILQ_FOREACH ( pc , & cpuhead , pc_allcpu ) { if ( nws_count >= netisr_maxthreads ) break ; if ( pc -> pc_netisr != NULL ) continue ; netisr_start_swi ( pc -> pc_cpuid , pc ) ; } }
Start worker threads for additional CPUs.
Start worker threads for additional CPUs .
/* Worker will already be present for boot CPU. */