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

From: H. Peter Anvin (hpa@transmeta.com)
Date: Mon May 21 2001 - 10:16:18 EST


Followup to: <3B090C81.53F163C3@TeraPort.de>
By author: "Martin.Knoblauch" <Martin.Knoblauch@TeraPort.de>
In newsgroup: linux.dev.kernel
>
> Hi,
>
> while trying to enhance a small hardware inventory script, I found that
> cpuinfo is missing the details of L1, L2 and L3 size, although they may
> be available at boot time. One could of cource grep them from "dmesg"
> output, but that may scroll away on long lived systems.
>

Any particular reason this needs to be done in the kernel, as opposed
to having your script read /dev/cpu/*/cpuid?

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:42 EST