[PATCH] AMD multicore detection

Jung-uk Kim jkim at FreeBSD.org
Fri Sep 23 18:07:43 PDT 2005


On Thursday 22 September 2005 02:37 am, 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?

I wrote something to understand your situation:

http://people.freebsd.org/~jkim/cpuid.c

Can you send me the output?

Thanks,

Jung-uk Kim


More information about the freebsd-current mailing list