lkml.org 
[lkml]   [2001]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch] Output of L1,L2 and L3 cache sizes to /proc/cpuinfo
Date
From
> > - 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/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.064 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site