8.1-PRERELEASE: CPU packages not detected correctly
Andriy Gapon
avg at icyb.net.ua
Fri Aug 27 22:46:20 UTC 2010
on 28/08/2010 01:33 Jung-uk Kim said the following:
> If you are really up to this, it has to be a two-pass process. Even
> then, the dmesg won't be pretty because the topology can only be
> "announced" after all APs have been started. I mean, nobody's going
> to like to see a message like this from dmesg output:
>
> ...
> ACPI APIC Table: <FOOBAR>
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID: 0
> cpu1 (AP): APIC ID: 1
>
> --- >8 --- Snip several hundred lines! --- >8 ---
>
> SMP: AP CPU #1 Launched!
> FreeBSD/SMP: 1 package(s) x 2 core(s)
> Root mount waiting for: usbus5 usbus2
> Root mount waiting for: usbus5 usbus2
> ...
>
> In fact, I implemented something like that while I was writing the
> patch but I discarded it for an obvious reason. ;-)
Well, I was just going to write that I would still keep the assumption that
physical packages are identical :-)
Not nice, but messing with APs I don't want :)
> Also, don't forget jhb's work based on ACPI affinity tables.
Not sure how they are applicable here.
--
Andriy Gapon
More information about the freebsd-stable
mailing list