Re: [PATCH] AMD multicore detection

From: Colin Percival <cperciva_at_freebsd.org>
Date: Wed, 21 Sep 2005 23:47:00 -0700
Martin Nilsson wrote:
> Jung-uk Kim wrote:
>> New patch is here:
>> http://people.freebsd.org/~jkim/multicore.diff
>>
>> Please test and let me know.  I don't have multicore CPU to test it
>> for myself. :-(
> 
> The below is on a Pentium D 820 (Dualcore). I don't like that the two
> cores are reported as hyperthreading when the CPU does not support
> hyperthreading (only the 840 EE does). If we ship 6.0 with HT disabled
> I'm afraid that it will turn off one of the cores, right?

It shouldn't.  Dual-core processors claim to be hyperthreaded, but when
I wrote the patch which disabled hyperthreading I added extra (and rather
complicated) code to detect dual-core processors and *not* disable them.

If I got it wrong, please let me know. :-)

Colin Percival
Received on Thu Sep 22 2005 - 04:47:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC