From: Ralf Baechle <ralf@oss.sgi.com>
To: Jun Sun <jsun@mvista.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: missing data cache flush in trap_init?
Date: Thu, 4 Jan 2001 15:25:53 -0200 [thread overview]
Message-ID: <20010104152553.D2525@bacchus.dhis.org> (raw)
In-Reply-To: <3A53ED5F.EC5E936F@mvista.com>; from jsun@mvista.com on Wed, Jan 03, 2001 at 07:26:23PM -0800
On Wed, Jan 03, 2001 at 07:26:23PM -0800, Jun Sun wrote:
> Aside of that, the name of flush_icache_range() seems to be misleading. Also
> in general how does it know which part of dcache to flush() without a given
> process mm struct?
The function is only intended to flush kernel addresses for which no mm
exists. Yes, it's being abused in creative ways but that's the purpose
it was designed for ...
> If it does not know, the only choice is to flush the whole
> dcache, which seems to make this function very close to flush_all().
>
> Is this function introduced by other CPU platforms? How would it make a
> difference there? I am just curious ...
Others such as for example m68k need it as well.
Ralf
prev parent reply other threads:[~2001-01-04 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-03 0:52 missing data cache flush in trap_init? Jun Sun
2001-01-03 11:29 ` Maciej W. Rozycki
2001-01-03 17:05 ` Ralf Baechle
2001-01-04 3:26 ` Jun Sun
2001-01-04 17:25 ` Ralf Baechle [this message]
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=20010104152553.D2525@bacchus.dhis.org \
--to=ralf@oss.sgi.com \
--cc=jsun@mvista.com \
--cc=linux-mips@oss.sgi.com \
/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