From: Ralf Baechle <ralf@linux-mips.org>
To: Imran Badr <imran.badr@cavium.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Cache coherency and snooping
Date: Wed, 14 Aug 2002 02:08:25 +0200 [thread overview]
Message-ID: <20020814020825.A11382@linux-mips.org> (raw)
In-Reply-To: <0a9a01c24320$4c936de0$9e10a8c0@IMRANPC>; from imran.badr@cavium.com on Tue, Aug 13, 2002 at 04:22:31PM -0700
On Tue, Aug 13, 2002 at 04:22:31PM -0700, Imran Badr wrote:
> How can I define a certain region of memory so that it is never cached? I
> want to use non-cached region of memory to communicate to my PCI device to
> avoid system overhead in cache snooping.
On every sane platform the hardware performs better at keeping the
coherency than software ever could. Don't even think about it unless
you for some reason absolutely must disable caching. Aside and as Alan
already mentioned the allocation of uncached memory isn't supported.
Ralf
next prev parent reply other threads:[~2002-08-14 0:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 22:57 patch 04/38: SUNRPC: support for GSSD client Kendrick M. Smith
2002-08-13 23:22 ` Cache coherency and snooping Imran Badr
2002-08-13 23:38 ` Alan Cox
2002-08-14 0:08 ` Ralf Baechle [this message]
2002-08-14 0:19 ` Imran Badr
2002-08-14 0:29 ` Ralf Baechle
2002-08-14 1:00 ` Imran Badr
2002-08-14 1:38 ` Rik van Riel
2002-08-14 1:56 ` Imran Badr
2002-08-14 8:16 ` Ralf Baechle
2002-08-14 9:00 ` David S. Miller
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=20020814020825.A11382@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=imran.badr@cavium.com \
--cc=linux-kernel@vger.kernel.org \
/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