Re: Cache line size

From: Chuck Ebbert
Date: Mon Sep 11 2006 - 01:00:32 EST


In-Reply-To: <4504AF26.9040807@xxxxxxxxxxx>

On Sun, 10 Sep 2006 20:34:46 -0400, John Richard Moser wrote:

> Is there a way for the Linux Kernel to know the cache line size of the
> CPU it's on, besides #define X86_CACHE_LINE_SZ 32 or whatnot?
>

/sys/devices/system/cpu/cpu<N>/cache

--
Chuck

-
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/