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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 22 May 2001 19:08:15 +0100 (BST)


> > - 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.)

Yep. cpuid is not priviledged. There are almost no cases you would want it to
be and no cpu support for that anyway.

You would need to be root to ident some non intel processors like the 486SLC
where you need to do io port access to ports 0x22/23 (from memory)
-
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/