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

Function start_msgring_threads

freebsd/mips/nlm/cms.c:453–463  ·  view source on GitHub ↗

* Start message ring processing threads on other CPUs, after SMP start */

Source from the content-addressed store, hash-verified

451 * Start message ring processing threads on other CPUs, after SMP start
452 */
453static void
454start_msgring_threads(void *arg)
455{
456 int hwt;
457
458 for (hwt = 1; hwt < XLP_MAX_CORES * XLP_MAX_THREADS; hwt++) {
459 if ((xlp_msg_thread_mask & (1 << hwt)) == 0)
460 continue;
461 create_msgring_thread(hwt);
462 }
463}
464
465SYSINIT(xlp_msgring_config, SI_SUB_DRIVERS, SI_ORDER_FIRST,
466 xlp_msgring_config, NULL);

Callers

nothing calls this directly

Calls 1

create_msgring_threadFunction · 0.85

Tested by

no test coverage detected