patch for topology detection of Intel CPUs

Andriy Gapon avg at freebsd.org
Mon Aug 30 11:49:48 UTC 2010


on 30/08/2010 12:15 pluknet said the following:
> On 29 August 2010 13:25, Andriy Gapon <avg at freebsd.org> wrote:
>>
>> [Reposted from stable@; edited]
>>
>> The below patch is against sources in FreeBSD tree, it should be applied
>> either to sys/amd64/amd64/mp_machdep.c or sys/i386/i386/mp_machdep.c depending
>> on the desired architecture:
>> http://people.freebsd.org/~avg/intel-cpu-topo.diff
>>
> 
> Hi, Andriy.
> 
> I tried your patch and see no regression on Xeon 50xx, 55xx, 54xx.
> It also improved CPU detection on Xeon 54xx (as well as original
> Junk-uk's patch).
> 
> It also improved CPU detection on Xen HVM @ Xeon 55xx @ 3 cores:
> 
> FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
> FreeBSD/SMP: 1 package(s) x 3 core(s)
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  2
>  cpu2 (AP): APIC ID:  4
> 

Thanks a lot for testing!

-- 
Andriy Gapon


More information about the freebsd-current mailing list