From: Dave Jones <davej@redhat.com>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: John Richard Moser <nigelenki@comcast.net>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Cache line size
Date: Mon, 11 Sep 2006 01:31:44 -0400 [thread overview]
Message-ID: <20060911053144.GB18727@redhat.com> (raw)
In-Reply-To: <200609110100_MC3-1-CAD3-E525@compuserve.com>
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
next prev parent reply other threads:[~2006-09-11 5:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 4:58 Cache line size Chuck Ebbert
2006-09-11 5:31 ` Dave Jones [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-11 12:41 Chuck Ebbert
2006-09-11 0:34 John Richard Moser
2006-09-11 2:39 ` Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060911053144.GB18727@redhat.com \
--to=davej@redhat.com \
--cc=76306.1226@compuserve.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nigelenki@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox