Re: [Patch] Output of L1,L2 and L3 cache sizes to /proc/cpuinfo

H. Peter Anvin (hpa@transmeta.com)
Tue, 22 May 2001 17:05:28 -0700


Martin Knoblauch wrote:
> >
> > If so, then that's their problem. We're not here to solve the problem of
> > stupid system administrators.
> >
>
> They may not be stupid, just mislead :-( When Intel created the "cpuid"
> Feature some way along the P3 line, they gave a stupid reason for it and
> created a big public uproar. As silly as I think that was (on both
> sides), the term "cpuid" is tainted. Some people just fear it like hell.
> Anyway.
>

Ummm... CPUID has been around since the P5, and even if you have one with
the serial-number feature, Linux disables it.

> > > - you would need a utility with root permission to analyze the cpuid
> > > info. The
> > > cahce info does not seem to be there in clear ascii.
> >
> > Bullsh*t. /dev/cpu/%d/cpuid is supposed to be mode 444 (world readable.)
> >
>
> Thanks you :-) In any case, on my system (Suse 7.1) the files are mode
> 400.
>

It's pointless since you can execute CPUID directly in user space. The
device is there just to support CPU selection in a multiprocessor system.

-hpa
-
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/