Re: L1_CACHE_SHIFT value for P4 ?

Dave Jones (davej@codemonkey.org.uk)
Thu, 21 Nov 2002 13:30:23 +0000


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/