src/sys/x86/x86/mp_x86.c
/*
 * Build the MI scheduling topology from the discovered hardware topology.
 */
Build the MI scheduling topology from the discovered hardware topology.
Build the MI scheduling topology from the discovered hardware topology .
struct cpu_group *
cpu_topo(void)
{
	struct cpu_group *cg_root;
	if (mp_ncpus <= 1)
		return (smp_topo_none());
	cg_root = smp_topo_alloc(1);
	x86topo_add_sched_group(&topo_root, cg_root);
	return (cg_root);
}
struct cpu_group * cpu_topo ( void ) { struct cpu_group * cg_root ; if ( mp_ncpus <= 1 ) return ( smp_topo_none ( ) ) ; cg_root = smp_topo_alloc ( 1 ) ; x86topo_add_sched_group ( & topo_root , cg_root ) ; return ( cg_root ) ; }
Build the MI scheduling topology from the discovered hardware topology.
Build the MI scheduling topology from the discovered hardware topology .