Searched refs:cpu_topology_phys_ids (Results 1 – 3 of 3) sorted by relevance
76 __read_frequently int cpu_topology_phys_ids; variable85 SYSCTL_INT(_hw, OID_AUTO, cpu_topology_phys_ids, CTLFLAG_RW,86 &cpu_topology_phys_ids, 0, "# of physical packages");616 cpu_topology_phys_ids = max_id - min_id + 1; in init_pcpu_topology_sysctl()617 if (cpu_topology_phys_ids <= 0) /* don't crash */ in init_pcpu_topology_sysctl()618 cpu_topology_phys_ids = 1; in init_pcpu_topology_sysctl()620 pcpu_sysctl[i].physical_id %= cpu_topology_phys_ids; in init_pcpu_topology_sysctl()
74 extern int cpu_topology_phys_ids;
534 if (cpu_topology_phys_ids <= 1 || in vm_numa_organize()546 socket_mod = PQ_L2_SIZE / cpu_topology_phys_ids; in vm_numa_organize()547 socket_value = (physid % cpu_topology_phys_ids) * socket_mod; in vm_numa_organize()652 scale_lim = PQ_L2_SIZE / cpu_topology_phys_ids; in vm_numa_organize_finalize()657 scale_lim = scale_lim * cpu_topology_phys_ids; in vm_numa_organize_finalize()1225 physcale = PQ_L2_SIZE / cpu_topology_phys_ids; in vm_get_pg_color()