Re: Dave Jones: Fix cache size of Centrino CPU

From: Dave Jones
Date: Wed Oct 01 2003 - 14:29:29 EST


On Wed, Oct 01, 2003 at 11:55:45AM -0700, Nakajima, Jun wrote:
> Just curious. Why do we want to know L1D/L1I cache size?

Entirely cosmetic reasons.
At boot time we print out..

Sep 21 16:38:08 hardwired kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Sep 21 16:38:08 hardwired kernel: CPU: L2 cache: 512K

> If you do, then you might want to know the associativity and line size as well.

See http://www.codemonkey.org.uk/projects/x86info
It does all this, and more. Entirely in userspace, where such cosmetics
belong IMO.

Dave

--
Dave Jones http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/