Messages in this thread |  | | Date | Tue, 22 May 2001 06:44:30 +0200 | From | David Weinehall <> | Subject | Re: [Patch] Output of L1,L2 and L3 cache sizes to /proc/cpuinfo |
| |
On Tue, May 22, 2001 at 05:22:35AM +0200, Dave Jones wrote: > On Mon, 21 May 2001, Steven Walter wrote: > > > > Any particular reason this needs to be done in the kernel, as opposed > > > to having your script read /dev/cpu/*/cpuid? > > Wouldn't that be the same reason we have /anything/ in cpuinfo? > > When /proc/cpuinfo was added, we didn't have /dev/cpu/*/cpuid > Now that we do, we're stuck with keeping /proc/cpuinfo for > compatability reasons.
AFAIK, not all processors support cpuid.
/david _ _ // David Weinehall <tao@acc.umu.se> /> Northern lights wander \\ // Project MCA Linux hacker // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </ - 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/
|  |