lkml.org 
[lkml]   [2006]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cache line size
On Mon, Sep 11, 2006 at 12:58:43AM -0400, Chuck Ebbert 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

Hmm..

$ find /sys/ -name cache
$

That's on 2.6.18rc6. Is this some -mm only feature?

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

\
 
 \ /
  Last update: 2006-09-11 07:27    [W:0.076 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site