Date: Wed, 22 Apr 2009 21:40:37 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c Message-ID: <200904222142.n3MLgYJH007705@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-04-22 21:40:37 UTC FreeBSD src repository Modified files: sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c Log: SVN rev 191405 on 2009-04-22 21:40:37Z by jhb 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 Revision Changes Path 1.303 +29 -21 src/sys/amd64/amd64/mp_machdep.c 1.296 +29 -21 src/sys/i386/i386/mp_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904222142.n3MLgYJH007705>