Re: [PATCH] Re: Discrepancies between /proc/cpuinfo and Dave J's

Jonathan Lundell (jlundell@pobox.com)
Wed, 11 Jul 2001 09:47:48 -0700


At 4:28 PM +0200 2001-07-11, Dave Jones wrote:
>On Wed, 11 Jul 2001, Hugh Dickins wrote:
>
>> Am I paranoid?
>
>Probably :)
>The Intel CPUs with PSN I've seen simply drop 1 level.
>What other CPUs support this feature? ISTR Transmeta had it?
>Do they behave the same?
>
>> I feel nervous about "c->cpuid_level--" inferring
>> what we expect to happen to it, would prefer to check it (below).
>> + c->cpuid_level = cpuid_eax(0);
>
>No biggie, either solution is fine with me.

HD's version has the advantage of not having to make assumptions
about how future CPUs might handle the level, and leaves open the
alternative possibility of leaving the level at 3 (or some future 4)
and just turning off the serial-number capability.

-- 
/Jonathan Lundell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/