Re: L1_CACHE_SHIFT value for P4 ?

From: Dave Jones (davej@codemonkey.org.uk)
Date: Thu Nov 21 2002 - 08:30:23 EST


On Thu, Nov 21, 2002 at 02:25:54PM +0100, Margit Schubert-While wrote:
> Andi,
> L2 cache lines = L2 cache size ?

No.

> This P4 has got 512KB L2 cache.

That 512KB is divided into 'lines' of n bytes.
Where n is the L1_CACHE_SHIFT value. (Or should be).
x86info will tell you the line size. (Its also printk'd at boot up iirc)

                Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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 : Sat Nov 23 2002 - 22:00:36 EST