summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-04-22 21:40:37 +0000
committerjhb <jhb@FreeBSD.org>2009-04-22 21:40:37 +0000
commit5ff418d07144cf4e3e408792042d9be38a391296 (patch)
tree8e44dd5c2be65e206ddba4a7a6a8b2c55ec00efe /lib/libc
parentcb075fbf998f15ec0a9d6630f5aa9d18c492247f (diff)
downloadFreeBSD-src-5ff418d07144cf4e3e408792042d9be38a391296.zip
FreeBSD-src-5ff418d07144cf4e3e408792042d9be38a391296.tar.gz
Adjust the way we number CPUs on x86 so that we attempt to "group" all
logical CPUs in a package. We do this by numbering the non-boot CPUs by starting with the first CPU whose APIC ID is after the boot CPU and wrapping back around to APIC ID 0 if needed rather than always starting at APIC ID 0. While here, adjust the cpu_mp_announce() routine to list CPUs based on the mapping established by assign_cpu_ids() rather than making assumptions about the algorithm assign_cpu_ids() uses. MFC after: 1 month
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud